fix problem reported by Vitor Moreira, see #1493
git-svn-id: file:///home/svn/framework3/trunk@9501 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b8c8880e44
commit
5194476191
|
@ -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 rel)(.+=+\")(.+)(\".+)/, '\3')
|
||||
end
|
||||
if /pn\ next/.match(data)
|
||||
|
|
|
@ -45,8 +45,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
clnt = Net::HTTP::Proxy(@proxysrv,@proxyport,@proxyuser,@proxypass).new("web.archive.org")
|
||||
resp, data = clnt.get2("/web/*sr_1nr_1300/http://"+targetdom+"/*",header)
|
||||
response << data
|
||||
response.each do |line|
|
||||
pages << line.gsub!(/(.+>)(.+)(<\/a><br>)\n/, '\2')
|
||||
response.each_line do |line|
|
||||
pages << line.gsub!(/(.+>)(.+)(<\/a><br>)\n/, '\2')
|
||||
end
|
||||
|
||||
pages.delete_if{|x| x==nil}
|
||||
|
|
Loading…
Reference in New Issue