Use identify_hash for creds

This commit is contained in:
Brendan Coles
2019-07-03 08:33:26 +00:00
parent 14552a7332
commit cd1669f2b2
+3 -1
View File
@@ -3,6 +3,8 @@
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'metasploit/framework/hashes/identify'
class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::Tcp
include Msf::Auxiliary::Report
@@ -110,7 +112,7 @@ class MetasploitModule < Msf::Auxiliary
origin_type: :service,
private_data: hash,
private_type: :nonreplayable_hash,
jtr_format: 'md5crypt',
jtr_format: identify_hash(hash),
username: user
}.merge(service_data)