session -> address is now taken care of by the underlying db.rb, don't bother in Auxiliary::Report

git-svn-id: file:///home/svn/framework3/trunk@11667 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-01-29 02:44:32 +00:00
parent 01d116f60f
commit 1ee9b205b8
1 changed files with 0 additions and 10 deletions

View File

@ -150,16 +150,6 @@ module Auxiliary::Report
FileUtils.mkdir_p(Msf::Config.loot_directory)
end
# Allow either a session or host to be specified
if host.respond_to?('target_host')
thost = host.target_host
tpeer = host.tunnel_peer
if tpeer and (!thost or thost.empty?)
thost = tpeer.split(":")[0]
end
host = thost
end
ext = 'bin'
if filename
parts = filename.to_s.split('.')