Update easyfilesharing_seh.rb
parent
ad93d11868
commit
ffce1cc321
|
@ -44,18 +44,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
'DefaultTarget' => 0))
|
||||
end
|
||||
|
||||
def check
|
||||
res = send_request_cgi({
|
||||
'method' => 'GET',
|
||||
'uri' => normalize_uri('/')
|
||||
})
|
||||
if res.to_s.include?('Server: Easy File Sharing Web Server v7.2')
|
||||
return Exploit::CheckCode::Vulnerable
|
||||
else
|
||||
return Exploit::CheckCode::Unknown
|
||||
end
|
||||
end
|
||||
|
||||
def exploit
|
||||
connect
|
||||
print_status("Generating Shell Code")
|
||||
|
|
Loading…
Reference in New Issue