Disable logging by default. Implement log option. #703 #336

This commit is contained in:
ethicalhack3r
2014-12-15 15:39:14 +01:00
parent d988b6ccbf
commit 3a3376ec41
6 changed files with 18 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ class WpscanOptions
:enumerate_usernames,
:enumerate_usernames_range,
:no_color,
:log,
:proxy,
:proxy_auth,
:threads,
@@ -269,7 +270,8 @@ class WpscanOptions
['--max-threads', GetoptLong::REQUIRED_ARGUMENT],
['--batch', GetoptLong::NO_ARGUMENT],
['--no-color', GetoptLong::NO_ARGUMENT],
['--cookie', GetoptLong::REQUIRED_ARGUMENT]
['--cookie', GetoptLong::REQUIRED_ARGUMENT],
['--log', GetoptLong::NO_ARGUMENT]
)
end