Skip to content

Commit b0a8fd8

Browse files
committed
Land rapid7#4929, duplicate hash key fixes (final pass)
2 parents bb81107 + 4d3a1a2 commit b0a8fd8

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

modules/auxiliary/scanner/http/bmc_trackit_passwd_reset.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,8 @@ def run_host(ip)
131131
'emailaddress' => Rex::Text.rand_text_alpha(8) + '@' + Rex::Text.rand_text_alpha(8) + '.com',
132132
'userQuestions' => %Q([{"Id":1,"Answer":"#{answers.first}"},{"Id":2,"Answer":"#{answers.last}"}]),
133133
'updatequesChk' => 'false',
134-
'SelectedQuestion' => 1,
135134
'SelectedQuestion' => 2,
136-
'answer' => answers.first,
137135
'answer' => answers.last,
138-
'confirmanswer' => answers.first,
139136
'confirmanswer' => answers.last
140137
}
141138
)

modules/exploits/linux/http/netgear_dgn2200b_pppoe_exec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ def request(cmd,user,pass,uri)
185185
"wan_hwaddr2" => @wan_hwaddr2_orig,
186186
"wan_hwaddr_pc" => @wan_hwaddr_pc_orig,
187187
"wan_nat" => @wan_nat_orig,
188-
"opendns_parental_ctrl" => @opendns_parental_ctrl_orig,
189188
"pppoe_flet_sel" => @pppoe_flet_sel_orig,
190189
"pppoe_flet_type" => @pppoe_flet_type_orig,
191190
"pppoe_temp" => @pppoe_temp_orig,

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

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,18 @@ def decrypt( encrypted_password )
127127
"n" => "p" , "m" => "q" , "l" => "r" , "k" => "s" , "j" => "t" ,
128128
"i" => "u" , "h" => "v" , "P" => "w" , "Q" => "x" , "R" => "y" ,
129129
"o" => "z" , "p" => "A" , "q" => "B" , "r" => "C" , "t" => "D" ,
130-
"s" => "E" , "L" => "F" , "N" => "G" , "M" => "H" , "O" => "I" ,
131-
"N" => "J" , "J" => "K" , "v" => "L" , "u" => "M" , "z" => "N" ,
132-
"y" => "O" , "w" => "P" , "x" => "Q" , "G" => "R" , "H" => "S" ,
133-
"A" => "T" , "B" => "U" , "D" => "V" , "C" => "W" , "E" => "X" ,
134-
"F" => "Y" , "I" => "Z" , "?" => "1" , "3" => "2" , "4" => "3" ,
135-
"5" => "4" , "6" => "5" , "7" => "6" , "8" => "7" , "9" => "8" ,
136-
"2" => "9" , "." => "0" , "+" => "+" , "\"" => "\"" , "*" => "*" ,
137-
"%" => "%" , "&" => "&" , "Z" => "/" , "(" => "(" , ")" => ")" ,
138-
"=" => "=" , "," => "?" , "!" => "!" , "$" => "$" , "-" => "-" ,
139-
"_" => "_" , "b" => ":" , "0" => "." , ";" => ";" , "1" => "," ,
140-
"\\" => "\\" , "a" => "<" , "Y" => ">" , "'" => "'" , "^" => "^" ,
141-
"{" => "{" , "}" => "}" , "[" => "[" , "]" => "]" , "~" => "~" ,
142-
"`" => "`"
130+
"s" => "E" , "L" => "F" , "M" => "H" , "O" => "I" , "N" => "J" ,
131+
"J" => "K" , "v" => "L" , "u" => "M" , "z" => "N" , "y" => "O" ,
132+
"w" => "P" , "x" => "Q" , "G" => "R" , "H" => "S" , "A" => "T" ,
133+
"B" => "U" , "D" => "V" , "C" => "W" , "E" => "X" , "F" => "Y" ,
134+
"I" => "Z" , "?" => "1" , "3" => "2" , "4" => "3" , "5" => "4" ,
135+
"6" => "5" , "7" => "6" , "8" => "7" , "9" => "8" , "2" => "9" ,
136+
"." => "0" , "+" => "+" , "\"" => "\"" , "*" => "*" , "%" => "%" ,
137+
"&" => "&" , "Z" => "/" , "(" => "(" , ")" => ")" , "=" => "=" ,
138+
"," => "?" , "!" => "!" , "$" => "$" , "-" => "-" , "_" => "_" ,
139+
"b" => ":" , "0" => "." , ";" => ";" , "1" => "," , "\\" => "\\" ,
140+
"a" => "<" , "Y" => ">" , "'" => "'" , "^" => "^" , "{" => "{" ,
141+
"}" => "}" , "[" => "[" , "]" => "]" , "~" => "~" , "`" => "`"
143142
}
144143
password=''
145144
for letter in encrypted_password.chomp.each_char

0 commit comments

Comments
 (0)