Minor formatting tweaks.
parent
ef2899dfd4
commit
6c7cc061ea
|
@ -46,15 +46,15 @@ class MetasploitModule < Msf::Post
|
|||
ini = Rex::Parser::Ini.from_s(parse)
|
||||
|
||||
if ini == {}
|
||||
print_error("Unable to parse file")
|
||||
return
|
||||
print_error("Unable to parse file")
|
||||
return
|
||||
end
|
||||
|
||||
print_status("Processing configuration file...")
|
||||
passwd = ini["COMMON"]['Password']
|
||||
passwd = passwd.delete "\""
|
||||
print_good("MD5(Unicode) hash found: #{passwd}")
|
||||
print_good("Info: Password length is limited to 20 characters.")
|
||||
print_status("Processing configuration file...")
|
||||
passwd = ini["COMMON"]['Password']
|
||||
passwd = passwd.delete "\""
|
||||
print_good("MD5(Unicode) hash found: #{passwd}")
|
||||
print_good("Info: Password length is limited to 20 characters.")
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue