From c497d5ffefdad45fcb3576486ab09ef97874ae1d Mon Sep 17 00:00:00 2001 From: Tasos Laskos Date: Wed, 6 Mar 2013 18:25:25 +0200 Subject: [PATCH] Auxiliary::Web: log methods pass vuln info to parent --- lib/msf/core/auxiliary/web.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msf/core/auxiliary/web.rb b/lib/msf/core/auxiliary/web.rb index 3c83af5f9a..aac0ce084b 100644 --- a/lib/msf/core/auxiliary/web.rb +++ b/lib/msf/core/auxiliary/web.rb @@ -161,7 +161,6 @@ module Auxiliary::Web map { |x| x.to_s }.join( '|' ).hash return if parent.vulns.include?( vhash ) - parent.vulns[vhash] = true location = opts[:location] ? page.url.merge( URI( opts[:location].to_s )) : page.url @@ -183,6 +182,7 @@ module Auxiliary::Web } info[:confidence] = calculate_confidence( info ) + parent.vulns[vhash] = info report_web_vuln( info ) @@ -196,7 +196,6 @@ module Auxiliary::Web map { |x| x.to_s }.join( '|' ).hash return if parent.vulns.include?( vhash ) - parent.vulns[vhash] = true location = URI( opts[:location].to_s ) info = { @@ -216,6 +215,7 @@ module Auxiliary::Web } info[:confidence] = calculate_confidence( info ) + parent.vulns[vhash] = info report_web_vuln( info )