Fix importing msfxml files containing a session

[See #1179][SeeRM #7669]
bug/bundler_fix
James Lee 2013-01-08 12:08:40 -06:00
parent 2c3ccb5207
commit 95a95d45ec
1 changed files with 2 additions and 2 deletions

View File

@ -679,7 +679,7 @@ class DBManager
# In the case of multi handler we cannot yet determine the true # In the case of multi handler we cannot yet determine the true
# exploit responsible. But we can at least show the parent versus # exploit responsible. But we can at least show the parent versus
# just the generic handler: # just the generic handler:
if session.via_exploit == "exploit/multi/handler" if session and session.via_exploit == "exploit/multi/handler"
sess_data[:via_exploit] = sess_data[:datastore]['ParentModule'] sess_data[:via_exploit] = sess_data[:datastore]['ParentModule']
end end