From b81a4987d9f65524dcca9a3b679744d6e679128c Mon Sep 17 00:00:00 2001 From: dctabuyz Date: Tue, 6 Jan 2015 19:10:22 +0300 Subject: [PATCH] fix page hash calculation --- lib/wpscan/wp_target/wp_must_use_plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wpscan/wp_target/wp_must_use_plugins.rb b/lib/wpscan/wp_target/wp_must_use_plugins.rb index 9f9f5a9b..e328861a 100644 --- a/lib/wpscan/wp_target/wp_must_use_plugins.rb +++ b/lib/wpscan/wp_target/wp_must_use_plugins.rb @@ -10,7 +10,7 @@ class WpTarget < WebSite response = Browser.get(must_use_url) if response && WpTarget.valid_response_codes.include?(response.code) - hash = WebSite.page_hash(response.body) + hash = Digest::MD5.hexdigest(response.body) return true if hash != error_404_hash && hash != homepage_hash end