From e19855e66afdf9b2b378bb46e32fb0218f9f4f68 Mon Sep 17 00:00:00 2001 From: Vex Woo Date: Mon, 13 Jun 2016 23:17:42 -0500 Subject: [PATCH 1/3] add wpvulndb reference url --- modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb b/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb index 2a766e7..c714131 100644 --- a/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb +++ b/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb @@ -26,7 +26,8 @@ def initialize(info = {}) 'License' => MSF_LICENSE, 'References' => [ - ['EDB', '35324'] + ['EDB', '35324'], + ['URL', 'https://wpvulndb.com/vulnerabilities/7679'] ], 'Privileged' => false, 'Platform' => ['php'], @@ -92,4 +93,4 @@ def exploit print_status('No response from the server') end end -end \ No newline at end of file +end From c532dd670a6dd5d3d495cb104bd0b9f21595d5ea Mon Sep 17 00:00:00 2001 From: Vex Woo Date: Mon, 13 Jun 2016 23:18:29 -0500 Subject: [PATCH 2/3] use MetasploitModule as a class name --- modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb b/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb index c714131..84a33aa 100644 --- a/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb +++ b/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb @@ -5,7 +5,7 @@ require 'msf/core' -class Metasploit3 < Msf::Exploit::Remote +class MetasploitModule < Msf::Exploit::Remote Rank = NormalRanking include Msf::Exploit::Remote::HttpClient From d54bf818727cf492f100af82f42646d5fa1ba8ae Mon Sep 17 00:00:00 2001 From: Vex Woo Date: Tue, 14 Jun 2016 09:16:52 -0500 Subject: [PATCH 3/3] fix WPVDB reference url --- modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb b/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb index 84a33aa..7498627 100644 --- a/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb +++ b/modules/exploits/unix/webapp/wp_cm_download_manager_exec.rb @@ -27,7 +27,7 @@ def initialize(info = {}) 'References' => [ ['EDB', '35324'], - ['URL', 'https://wpvulndb.com/vulnerabilities/7679'] + ['WPVDB', '7679'] ], 'Privileged' => false, 'Platform' => ['php'],