From 38f70a88aec742fa15ebe722627eb12c9152e4c0 Mon Sep 17 00:00:00 2001 From: g0tmi1k Date: Mon, 14 May 2018 16:17:12 +0100 Subject: [PATCH] Follow any redirections (e.g. http -> https) --- lib/wpscan/wp_target/wp_rss.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wpscan/wp_target/wp_rss.rb b/lib/wpscan/wp_target/wp_rss.rb index 22a53176..334eaf19 100644 --- a/lib/wpscan/wp_target/wp_rss.rb +++ b/lib/wpscan/wp_target/wp_rss.rb @@ -25,7 +25,7 @@ class WpTarget < WebSite users = [] # Make the request - response = Browser.get(url) + response = Browser.get(url, followlocation: true) # Valid repose to view? HTTP 200? return false unless response.code == 200