Update to masked credential format

* To support change in Pro export format. Previous format looked
like an XML element, for no reason, failed validation.
bug/bundler_fix
Samuel Huckins 2013-12-30 10:59:15 -06:00
parent b8569a1698
commit 985af3adfe
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ module Msf
cred_data[datum.gsub("-","_").intern] = nils_for_nulls(cred.elements[datum].text.to_s.strip)
end
}
if cred_data[:pass] == "<masked>"
if cred_data[:pass] == "*MASKED*"
cred_data[:pass] = ""
cred_data[:active] = false
elsif cred_data[:pass] == "*BLANK PASSWORD*"