@@ -44,7 +44,6 @@ class Exploit(exploits.Exploit):
}
target=exploits.Option('','Target address e.g. 192.168.1.1')
port=exploits.Option(9999,'Target Port')
defrun(self):
try:
...
...
@@ -56,7 +55,7 @@ class Exploit(exploits.Exploit):
else:
print_error("Target is not vulnerable")
exceptsocket.errorasex:
print_error("Socket error ({ex}). It most likely means that something else is listening locally on port UDP:{port}. Make sure to kill it before running the exploit again.".format(ex=ex,port=self.port))
print_error("Socket error ({ex}). It most likely means that something else is listening locally on port UDP:{port}. Make sure to kill it before running the exploit again.".format(ex=ex,port=9999))
defcommand_loop(self):
while1:
...
...
@@ -72,12 +71,12 @@ class Exploit(exploits.Exploit):