Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocapikk committed Dec 5, 2024
1 parent ca45c64 commit b8ec13e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def execute_payload(action, injected_payload)
payload_data = post_data.to_s

headers['X-CSRFToken'] = csrf_token
headers['Referer'] = "#{(datastore['SSL'] ? 'https' : 'http')}://#{datastore['RHOST']}:#{datastore['RPORT']}#{normalize_uri(target_uri.path, 'filemanager/upload')}"
headers['Referer'] = "#{datastore['SSL'] ? 'https' : 'http'}://#{datastore['RHOST']}:#{datastore['RPORT']}#{normalize_uri(target_uri.path, 'filemanager/upload')}"
headers['Cookie'] = "csrftoken=#{csrf_token}"
ctype = "multipart/form-data; boundary=#{post_data.bound}"

Expand Down

0 comments on commit b8ec13e

Please sign in to comment.