From 5194476191593bc17b19932782a0169eefcbd463 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Sat, 12 Jun 2010 09:15:50 +0000 Subject: [PATCH] fix problem reported by Vitor Moreira, see #1493 git-svn-id: file:///home/svn/framework3/trunk@9501 4d416f70-5f16-0410-b530-b9f4589650da --- modules/auxiliary/scanner/http/enum_delicious.rb | 2 +- modules/auxiliary/scanner/http/enum_wayback.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/auxiliary/scanner/http/enum_delicious.rb b/modules/auxiliary/scanner/http/enum_delicious.rb index fecb91eb49..7a40590581 100644 --- a/modules/auxiliary/scanner/http/enum_delicious.rb +++ b/modules/auxiliary/scanner/http/enum_delicious.rb @@ -51,7 +51,7 @@ class Metasploit3 < Msf::Auxiliary clnt = Net::HTTP::Proxy(@proxysrv,@proxyport,@proxyuser,@proxypass).new("delicious.com") resp, data = clnt.get2("/search?p=site%3A"+targetdom+"&page="+pagenum.to_s,header) response << data - response.each do |line| + response.each_line do |line| list << line.gsub!(/(.+)(.+)(<\/a>
)\n/, '\2') + response.each_line do |line| + pages << line.gsub!(/(.+>)(.+)(<\/a>
)\n/, '\2') end pages.delete_if{|x| x==nil}