Skip to content

Commit ef2899d

Browse files
robertchrkpbarry-r7
authored andcommitted
msftidy updates
1 parent 7b4bb75 commit ef2899d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/post/windows/gather/credentials/avira_password.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class MetasploitModule < Msf::Post
1212
include Msf::Post::Windows::Registry
13-
13+
1414
def initialize(info={})
1515
super( update_info( info,
1616
'Name' => 'Windows Gather Avira Password Extraction',
@@ -46,15 +46,15 @@ def get_ini(filename)
4646
ini = Rex::Parser::Ini.from_s(parse)
4747

4848
if ini == {}
49-
print_error("Unable to parse file")
50-
return
49+
print_error("Unable to parse file")
50+
return
5151
end
5252

53-
print_status("Processing configuration file...")
54-
passwd = ini["COMMON"]['Password']
55-
passwd = passwd.delete "\""
56-
print_good("MD5(Unicode) hash found: #{passwd}")
57-
print_good("Info: Password length is limited to 20 characters.")
53+
print_status("Processing configuration file...")
54+
passwd = ini["COMMON"]['Password']
55+
passwd = passwd.delete "\""
56+
print_good("MD5(Unicode) hash found: #{passwd}")
57+
print_good("Info: Password length is limited to 20 characters.")
5858
end
5959

6060
end

0 commit comments

Comments
 (0)