Fixes #4868: allow 125 response during send_cmd_data

git-svn-id: file:///home/svn/framework3/trunk@13127 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2011-07-08 04:22:47 +00:00
parent 4ac2e9111e
commit d6de23de27
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ module Exploit::Remote::Ftp
# Our pending command should have got a connection now.
res = send_cmd(args, true, nsock)
# make sure could open port
return nil if not res =~ /^150 /
return nil unless res =~ /^(150|125) /
# dispatch to the proper method
if (type == "get")