Skip to content

Commit fbc287b

Browse files
committed
Change payload trigger and increase payload timeout
1 parent 3025794 commit fbc287b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

start.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def do_GET(self):
235235
except IOError:
236236
self.send_error(404)
237237

238-
if self.path.rsplit('/', 1)[-1] == 'rop.js':
238+
if self.path.rsplit('/', 1)[-1] == 'kernel.js':
239239
print('>> Exploit sent...')
240240
try:
241241
payloads_file = os.path.join(EXPLOIT_LOC, self.path.rsplit('/', 2)[-2], 'nopayloads')
@@ -418,7 +418,7 @@ def patch_payload(content):
418418
def send_payload(hostname, port, content):
419419
"""Netcat implementation"""
420420
soc = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
421-
timeout = time.time() + 15
421+
timeout = time.time() + 60
422422
while True:
423423
result = soc.connect_ex((hostname, port))
424424
if result == 0:

0 commit comments

Comments
 (0)