Rewrote check code.
parent
d3a6de761d
commit
81d898fd7e
|
@ -39,15 +39,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
end
|
||||
|
||||
def check
|
||||
res = send_request_cgi(
|
||||
'uri' => normalize_uri(wordpress_url_plugins, 'website-contact-form-with-file-upload', 'readme.txt')
|
||||
)
|
||||
|
||||
if res && res.code == 200 && res.body =~ /N-Media Website Contact Form/
|
||||
return Exploit::CheckCode::Detected
|
||||
end
|
||||
|
||||
Exploit::CheckCode::Safe
|
||||
check_plugin_version_from_readme('website-contact-form-with-file-upload', '1.3.4')
|
||||
end
|
||||
|
||||
def exploit
|
||||
|
|
Loading…
Reference in New Issue