Report the workspace object not the name
git-svn-id: file:///home/svn/framework3/trunk@8763 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b419a40c45
commit
e05921b297
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue