Minor formatting tweaks.

bug/bundler_fix
Pearce Barry 2016-07-28 16:21:50 -05:00
parent ef2899dfd4
commit 6c7cc061ea
1 changed files with 7 additions and 7 deletions

View File

@ -46,15 +46,15 @@ class MetasploitModule < Msf::Post
ini = Rex::Parser::Ini.from_s(parse) ini = Rex::Parser::Ini.from_s(parse)
if ini == {} if ini == {}
print_error("Unable to parse file") print_error("Unable to parse file")
return return
end end
print_status("Processing configuration file...") print_status("Processing configuration file...")
passwd = ini["COMMON"]['Password'] passwd = ini["COMMON"]['Password']
passwd = passwd.delete "\"" passwd = passwd.delete "\""
print_good("MD5(Unicode) hash found: #{passwd}") print_good("MD5(Unicode) hash found: #{passwd}")
print_good("Info: Password length is limited to 20 characters.") print_good("Info: Password length is limited to 20 characters.")
end end
end end