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