diff --git a/lib/msf/core/db_manager/exploit_attempt.rb b/lib/msf/core/db_manager/exploit_attempt.rb index e6c18ac9cb..2370d4bd9c 100644 --- a/lib/msf/core/db_manager/exploit_attempt.rb +++ b/lib/msf/core/db_manager/exploit_attempt.rb @@ -88,7 +88,7 @@ module Msf::DBManager::ExploitAttempt # Report a vuln_attempt if we found a match if vuln vuln.vuln_attempts.create(attempt_info) - attempt_info[:vuln_id] = vuln.id if vuln + attempt_info[:vuln_id] = vuln.id end # Report an exploit attempt all the same