Fix timeout and unresponsive cameras being detected as successful & add error message

Update unit tests

Fix deadlock in libcurl for tests to stop failing randomly
This commit is contained in:
Brendan LE GLAUNEC
2017-10-18 08:43:02 +02:00
committed by Brendan Le Glaunec
parent 216d30fd45
commit 89647ae457
4 changed files with 36 additions and 16 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ type options struct {
Routes string `short:"r" long:"custom-routes" description:"The path on which to load a custom routes dictionary" default:"../dictionaries/routes"`
Credentials string `short:"c" long:"custom-credentials" description:"The path on which to load a custom credentials JSON dictionary" default:"../dictionaries/credentials.json"`
Speed int `short:"s" long:"speed" description:"The nmap speed preset to use" default:"4"`
Timeout int `short:"T" long:"timeout" description:"The timeout in miliseconds to use for attack attempts" default:"1000"`
Timeout int `short:"T" long:"timeout" description:"The timeout in miliseconds to use for attack attempts" default:"2000"`
EnableLogs bool `short:"l" long:"log" description:"Enable the logs for nmap's output to stdout"`
}