We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1487c commit a7156cfCopy full SHA for a7156cf
modules/exploits/multi/http/zabbix_script_exec.rb
@@ -79,7 +79,7 @@ def exploit
79
req = c.request_cgi({
80
'method' => 'POST',
81
'uri' => '/zabbix/',
82
- 'data' => 'request=&name=' << datastore['USERNAME'] << '&password=' << datastore['PASSWORD'] << '&enter=Sign+in'
+ 'data' => "request=&name=#{datastore['USERNAME']}&password=#{datastore['PASSWORD']}&enter=Sign+in"
83
})
84
85
login = c.send_recv(req.to_s.sub("Host:", "Host: " << datastore["RHOST"]))
0 commit comments