Skip to content

Commit 81fa068

Browse files
author
h00die
committed
pulling out the get params
1 parent 52db99b commit 81fa068

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/exploits/linux/http/op5_config_exec.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,13 @@ def execute_command(cmd, opts)
9191

9292
# login
9393
res = send_request_cgi(
94-
'uri' => normalize_uri(target_uri.path, 'monitor/index.php/auth/login?uri=tac%2Findex'),
94+
'uri' => normalize_uri(target_uri.path, 'monitor/index.php/auth/login'),
9595
'method' => 'POST',
96-
'vars_post' =>
96+
'vars_get' =>
97+
{
98+
'uri' => 'tac/index'
99+
},
100+
'vars_post' =>
97101
{
98102
'csrf_token' => '',
99103
'username' => datastore['USERNAME'],

0 commit comments

Comments
 (0)