Added python3 to Spawning a Shell
This commit is contained in:
parent
7f3184d9ef
commit
81813d648e
@ -375,10 +375,11 @@ 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')" |
|
||||||
|* Echo: | echo 'os.system('/bin/bash')'|
|
| * Python3 | python3 -c "import pty;pty.spawn('/bin/bash')" |
|
||||||
|
| * Echo: | echo 'os.system('/bin/bash')'|
|
||||||
| * sh: | /bin/sh -i|
|
| * sh: | /bin/sh -i|
|
||||||
| * Bash: | /bin/bash -i|
|
| * Bash: | /bin/bash -i|
|
||||||
| * Perl: | perl -e 'exec "/bin/sh";'|
|
| * Perl: | perl -e 'exec "/bin/sh";'|
|
||||||
| * Ruby: | ruby: exec "/bin/sh"|
|
| * Ruby: | ruby: exec "/bin/sh"|
|
||||||
| * Lua: | lua: os.execute('/bin/sh')|
|
| * Lua: | lua: os.execute('/bin/sh')|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user