postgres hashdump now stores PostgresMD5 objects

instead of nonreplayabke hashes the postgres_hashdump
aux module now saves them approriately as PostgresMD5s
with the md5 tag intact at the front

MSP-12244
bug/bundler_fix
David Maloney 2015-03-03 16:45:13 -06:00
parent 64490c746a
commit 199c3ba96c
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 2 deletions

View File

@ -112,7 +112,7 @@ class Metasploit3 < Msf::Auxiliary
origin_type: :service,
jtr_format: 'raw-md5,postgres',
module_fullname: self.fullname,
private_type: :nonreplayable_hash
private_type: :postgres_md5
}
credential_data.merge!(service_data)
@ -122,7 +122,6 @@ class Metasploit3 < Msf::Auxiliary
next if row[0].nil? or row[1].nil?
next if row[0].empty? or row[1].empty?
password = row[1]
password.slice!(0,3)
credential_data[:username] = row[0]
credential_data[:private_data] = password