Commit d387015a by fwkz

Addin validator to Huawei exploit

parent 83eb1a61
......@@ -7,6 +7,7 @@ from routersploit import (
print_success,
mute,
ssh_interactive,
validators
)
......@@ -31,7 +32,7 @@ class Exploit(exploits.Exploit):
],
}
target = exploits.Option('', 'Target IP address') # target address
target = exploits.Option('', 'Target IP address', validators=validators.address) # target address
user = exploits.Option('admin', 'Default username to log in with')
password = exploits.Option('admin', 'Default password to log in 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