Minor formatting tweaks.
parent
ef2899dfd4
commit
6c7cc061ea
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue