Update ueb9_api_storage.rb

bug/bundler_fix
caleBot 2017-10-20 14:05:15 -06:00 committed by GitHub
parent 16b6248943
commit e9ad5a7dca
1 changed files with 2 additions and 2 deletions

View File

@ -82,12 +82,12 @@ class MetasploitModule < Msf::Exploit::Remote
{'AuthToken' => session,}
})
if if res &&res.code != 500
if res &&res.code != 500
fail_with(Failure::UnexpectedReply,'Unexpected response')
end
rescue ::Rex::ConnectionError
fail_with(Failure::Unreachable, "#{peer} - Failed to connect to the web server")
end
end
def exploit
print_status("#{peer} - pwn'ng ueb 9....")