From 93b59802102ded8428515962a9654d4293cff33e Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Sat, 12 Jan 2013 14:13:54 +0100 Subject: [PATCH] fix --- modules/auxiliary/gather/w3_total_cache_hash_extract.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/gather/w3_total_cache_hash_extract.rb b/modules/auxiliary/gather/w3_total_cache_hash_extract.rb index 7fccc741fc..ef8f048a58 100644 --- a/modules/auxiliary/gather/w3_total_cache_hash_extract.rb +++ b/modules/auxiliary/gather/w3_total_cache_hash_extract.rb @@ -62,7 +62,7 @@ class Metasploit3 < Msf::Auxiliary url="/#{datastore["URL"]}/#{datastore["WP_CONTENT_DIR"]}/w3tc/dbcache#{hash_path}" url = normalize_uri(url) - result = "" + result = nil begin result = send_request_cgi({ "uri" => url, "method" => "GET" }) rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout