Skip to content

Commit 7682947

Browse files
committed
Add check and removed HttpClient
1 parent 890561b commit 7682947

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/auxiliary/scanner/http/wp_mobileedition_file_read.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
class Metasploit3 < Msf::Auxiliary
99

1010
include Msf::Auxiliary::Report
11-
include Msf::Exploit::Remote::HttpClient
1211
include Msf::HTTP::Wordpress
1312
include Msf::Auxiliary::Scanner
1413

@@ -40,6 +39,10 @@ def initialize(info = {})
4039
], self.class)
4140
end
4241

42+
def check
43+
check_plugin_version_from_readme('wp-mobile-edition', '2.3')
44+
end
45+
4346
def run_host(ip)
4447
traversal = "../" * datastore['DEPTH']
4548
filename = datastore['FILEPATH']

0 commit comments

Comments
 (0)