Commit 9a2d0aa4 by lucyoa

Fixing port validator

parent d21af440
...@@ -56,7 +56,7 @@ class Exploit(exploits.Exploit): ...@@ -56,7 +56,7 @@ class Exploit(exploits.Exploit):
} }
target = exploits.Option('', 'Target IP address e.g. 192.168.1.1', validators=validators.address) # target address target = exploits.Option('', 'Target IP address e.g. 192.168.1.1', validators=validators.address) # target address
ssh_port = exploits.Option(22, 'Target SSH Port', validators=validators.port) # target port ssh_port = exploits.Option(22, 'Target SSH Port', validators=validators.integer) # target port
private_keys = [ private_keys = [
{ # ExaGrid firmware < 4.8 P26 { # ExaGrid firmware < 4.8 P26
......
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