Skip to content

Commit 500bde1

Browse files
committed
get_vars tweak
1 parent a04bc0a commit 500bde1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/exploits/multi/http/jenkins_xstream_deserialize.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ def execute_command(cmd, opts = {})
107107
res = send_request_cgi(
108108
'method' => 'POST',
109109
'uri' => normalize_uri(target_uri.path, '/createItem'),
110-
'vars_get' => {
111-
'name' => 'random'
112-
},
110+
'vars_get' => { 'name' => 'random' },
113111
'ctype' => 'application/xml',
114112
'data' => xstream_payload(cmd)
115113
)

0 commit comments

Comments
 (0)