Skip to content

Commit a30144f

Browse files
committed
Land rapid7#5623, ipmi_dumphashes NoMethodError fix
2 parents 3c16f8d + afa442a commit a30144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/ipmi/ipmi_dumphashes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def report_hash(user, hash)
270270
}.merge(service_data)
271271

272272
cl = create_credential_login(login_data)
273-
cl.core_id
273+
cl ? cl.core_id : nil
274274
end
275275

276276
def report_cracked_cred(user, password, core_id)

0 commit comments

Comments
 (0)