Merge pull request #1180 from g0tmi1k/fixes
Stop trying to execute when it shouldn't
This commit is contained in:
@@ -524,12 +524,15 @@ def main
|
||||
end
|
||||
exit(1)
|
||||
ensure
|
||||
# Make sure there was an argument
|
||||
if ARGV.length != 0
|
||||
# Ensure a clean abort of Hydra
|
||||
# See https://github.com/wpscanteam/wpscan/issues/461#issuecomment-42735615
|
||||
Browser.instance.hydra.abort
|
||||
Browser.instance.hydra.run
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
main()
|
||||
exit($exit_code)
|
||||
|
||||
Reference in New Issue
Block a user