Skip to content

Commit d898af5

Browse files
committed
Add check version and removed HttpClient
1 parent b90ff36 commit d898af5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/auxiliary/scanner/http/wp_dukapress_file_read.rb

Lines changed: 3 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

@@ -42,6 +41,9 @@ def initialize(info = {})
4241
], self.class)
4342
end
4443

44+
def check
45+
check_plugin_from_readme('dukapress', '2.5.7')
46+
end
4547
def run_host(ip)
4648
traversal = "../" * datastore['DEPTH']
4749
filename = datastore['FILEPATH']

0 commit comments

Comments
 (0)