added infer_vuln_from_session to other valid case

MSP-13064
bug/bundler_fix
Greg Mikeska 2015-08-12 15:35:03 -05:00
parent 80f415074b
commit 53e747ce2e
No known key found for this signature in database
GPG Key ID: 35F0DEED7BFB817A
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ module Msf::DBManager::Session
run: session.exploit.user_data[:run],
state: 'succeeded',
)
infer_vuln_from_session(session, wspace)
elsif session.via_exploit
# This is a live session, we know the host is vulnerable to something.
infer_vuln_from_session(session, wspace)