Report the workspace based on the session

git-svn-id: file:///home/svn/framework3/trunk@8741 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-03-08 05:31:21 +00:00
parent d5b85db27f
commit d8c900aabb
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,8 @@ module FrameworkEventManager
if framework.db.active and session.via_exploit and session.via_exploit != "multi/handler"
info = {
:host => session.tunnel_peer.sub(/:\d+$/, ''), # strip off the port
:name => session.via_exploit
:name => session.via_exploit,
:workspace => session.workspace
}
framework.db.report_vuln(info)
end
@ -69,3 +70,4 @@ end
end
end
end