Use identify_hash for creds
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user