From 8dc1e3c5fe37d65571ebc295b81046b5e50def28 Mon Sep 17 00:00:00 2001 From: Mehtab Zafar Date: Fri, 10 Jan 2020 17:57:53 +0530 Subject: [PATCH] Update TTY shell command for python Made the command to use python3 because mostly now the machines have python3 installed. --- Methodology and Resources/Reverse Shell Cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Methodology and Resources/Reverse Shell Cheatsheet.md b/Methodology and Resources/Reverse Shell Cheatsheet.md index 1eba80c..3a8b617 100644 --- a/Methodology and Resources/Reverse Shell Cheatsheet.md +++ b/Methodology and Resources/Reverse Shell Cheatsheet.md @@ -343,7 +343,7 @@ Spawn a TTY shell from an interpreter ```powershell /bin/sh -i -python -c 'import pty; pty.spawn("/bin/sh")' +python3 -c 'import pty; pty.spawn("/bin/sh")' perl -e 'exec "/bin/sh";' perl: exec "/bin/sh"; ruby: exec "/bin/sh"