Update ueb9_api_storage.rb
parent
16b6248943
commit
e9ad5a7dca
|
@ -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....")
|
||||
|
|
Loading…
Reference in New Issue