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-b9f4589650daunstable
parent
01d116f60f
commit
1ee9b205b8
|
@ -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('.')
|
||||
|
|
Loading…
Reference in New Issue