Land #6751, Correct proftp version check at module runtime

bug/bundler_fix
wchen-r7 2016-04-14 15:34:53 -05:00
commit 92ef8f4ab3
No known key found for this signature in database
GPG Key ID: 2384DB4EF06F730B
1 changed files with 1 additions and 1 deletions

View File

@ -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