Skip to content

Commit 67fc43a

Browse files
committed
msftidy error updated 2.4
1 parent fe4e230 commit 67fc43a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/exploits/linux/http/trueonline_p660hn_v2_rce.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ def exploit
9898
@cookie = rand_text_alpha_lower(7)
9999

100100
res = send_request_cgi({
101-
'uri' => '/cgi-bin/index.asp?' + Rex::Text.encode_base64("#{datastore['USERNAME']}:#{datastore['PASSWORD']}"),
101+
'uri' => '/cgi-bin/index.asp',
102+
'query' => Rex::Text.encode_base64("#{datastore['USERNAME']}:#{datastore['PASSWORD']}"),
102103
'method' => 'POST',
103104
'cookie' => "SESSIONID=#{@cookie}",
104105
'vars_post' => {

0 commit comments

Comments
 (0)