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:
parent
4ac2e9111e
commit
d6de23de27
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue