Method: Wpxf::Exploit::ImpressListingsReflectedXssShellUpload#on_http_request

Defined in:
lib/wpxf/modules/exploit/xss/reflected/impress_listings_reflected_xss_shell_upload.rb

#on_http_request(path, params, headers) ⇒ Object



66
67
68
69
70
71
72
73
# File 'lib/wpxf/modules/exploit/xss/reflected/impress_listings_reflected_xss_shell_upload.rb', line 66

def on_http_request(path, params, headers)
  if path.eql? normalize_uri(xss_path, initial_req_path)
    emit_info 'Initial request received...'
    return { type: 'text/html', body: initial_script }
  else
    super
  end
end