Merge pull request #3 from wchen-r7/pr6226
Do a version check for wordpress_xmlrpc_loginbug/bundler_fix
commit
bb4db6b501
|
@ -61,6 +61,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
def check_setup
|
||||
vprint_status("Checking #{peer} status!")
|
||||
version = wordpress_version
|
||||
vprint_status("Found Wordpress version: #{version}")
|
||||
|
||||
if !wordpress_and_online?
|
||||
print_error("#{peer}:#{rport}#{target_uri} does not appear to be running Wordpress or you got blocked! (Do Manual Check)")
|
||||
|
@ -68,6 +70,8 @@ class Metasploit3 < Msf::Auxiliary
|
|||
elsif !wordpress_xmlrpc_enabled?
|
||||
print_error("#{peer}:#{rport}#{wordpress_url_xmlrpc} does not enable XMLRPC")
|
||||
false
|
||||
elsif Gem::Version.new(version) >= Gem::Version.new('4.4.1')
|
||||
false
|
||||
else
|
||||
print_status("Target #{peer} is running Wordpress")
|
||||
true
|
||||
|
|
Loading…
Reference in New Issue