Added python3 to Spawning a Shell

This commit is contained in:
Phil 2022-05-07 21:31:51 +01:00
parent 7f3184d9ef
commit 81813d648e

View File

@ -375,7 +375,8 @@ This is the most popular method for spawnings a tty shell. The target server sho
|Methord | Command | |Methord | Command |
|----------|-----------| |----------|-----------|
| Python3 | python -c "import pty;pty.spawn('/bin/bash')" | | * Python | python -c "import pty;pty.spawn('/bin/bash')" |
| * Python3 | python3 -c "import pty;pty.spawn('/bin/bash')" |
| * Echo: | echo 'os.system('/bin/bash')'| | * Echo: | echo 'os.system('/bin/bash')'|
| * sh: | /bin/sh -i| | * sh: | /bin/sh -i|
| * Bash: | /bin/bash -i| | * Bash: | /bin/bash -i|