We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135958a commit cec20ecCopy full SHA for cec20ec
lib/metasploit/framework/login_scanner/snmp.rb
@@ -153,6 +153,9 @@ def scan!
153
# Associate the community with the original credential
154
result_options[:credential] = credential_map[result_options.delete(:community)]
155
156
+ # In the rare chance that we got a result for a community we didn't scan...
157
+ next unless result_options[:credential]
158
+
159
# Create, freeze, and yield the result
160
result = ::Metasploit::Framework::LoginScanner::Result.new(result_options)
161
result.freeze
0 commit comments