Land #6751, Correct proftp version check at module runtime
commit
92ef8f4ab3
|
@ -159,7 +159,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
mytarget = nil
|
||||
|
||||
print_status("Automatically detecting the target...")
|
||||
if (banner and (m = banner.match(/ProFTPD (1\.3\.[23][^ ]) Server/i))) then
|
||||
if (banner and (m = banner.match(/ProFTPD (1\.[23]\.[^ ])/i))) then
|
||||
print_status("FTP Banner: #{banner.strip}")
|
||||
version = m[1]
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue