Report the workspace object not the name

git-svn-id: file:///home/svn/framework3/trunk@8763 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-03-10 06:16:57 +00:00
parent b419a40c45
commit e05921b297
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ module FrameworkEventManager
info = {
:host => session.tunnel_peer.sub(/:\d+$/, ''), # strip off the port
:name => session.via_exploit,
:workspace => session.workspace
:workspace => framework.db.find_workspace(session.workspace)
}
framework.db.report_vuln(info)
end