Report the workspace based on the session
git-svn-id: file:///home/svn/framework3/trunk@8741 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d5b85db27f
commit
d8c900aabb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue