fix
parent
0b8094eb5d
commit
93b5980210
|
@ -62,7 +62,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
url="/#{datastore["URL"]}/#{datastore["WP_CONTENT_DIR"]}/w3tc/dbcache#{hash_path}"
|
url="/#{datastore["URL"]}/#{datastore["WP_CONTENT_DIR"]}/w3tc/dbcache#{hash_path}"
|
||||||
url = normalize_uri(url)
|
url = normalize_uri(url)
|
||||||
|
|
||||||
result = ""
|
result = nil
|
||||||
begin
|
begin
|
||||||
result = send_request_cgi({ "uri" => url, "method" => "GET" })
|
result = send_request_cgi({ "uri" => url, "method" => "GET" })
|
||||||
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
|
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
|
||||||
|
|
Loading…
Reference in New Issue