Fix login - check condition

bug/bundler_fix
nixawk 2016-10-20 22:52:24 -05:00
parent 344b688ae5
commit ada571bfdf
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class MetasploitModule < Msf::Auxiliary
end
@zoomeye_token = login(datastore['USERNAME'], datastore['PASSWORD'])
unless @zoomeye_token
if @zoomeye_token.blank?
print_error("Unable to login api.zoomeye.org")
return
end