Small fixes
This commit is contained in:
parent
80ce7d1ed1
commit
15f45be9d5
@ -51,7 +51,7 @@ if __name__ == "__main__":
|
|||||||
print("Supported types: bash, perl, python[2|3], php, ruby, netcat|nc, java, xterm")
|
print("Supported types: bash, perl, python[2|3], php, ruby, netcat|nc, java, xterm")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
tty = "python -c 'import pty; pty.spawn(\"/bin/bash\")"
|
tty = "python -c 'import pty; pty.spawn(\"/bin/bash\")'"
|
||||||
print("---PAYLOAD---\n%s\n---TTY---\n%s\n---------\n" % (payload, tty))
|
print("---PAYLOAD---\n%s\n---TTY---\n%s\n---------\n" % (payload, tty))
|
||||||
|
|
||||||
if payload_type == "xterm":
|
if payload_type == "xterm":
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
import netifaces as ni
|
import netifaces as ni
|
||||||
|
|
||||||
if len(sys.argv) < 2:
|
if len(sys.argv) < 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user