1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

fix silly bug, sorry

git-svn-id: file:///home/svn/framework3/trunk@7686 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2009-12-03 21:11:56 +00:00
parent d31d7f869f
commit 1d143a6ccf

View File

@ -95,7 +95,7 @@ module Exploit::Remote::Ftp
#
def send_user(user, nsock = self.sock)
raw_send("USER #{user}\r\n", nsock)
recv_ftp_resp()
recv_ftp_resp(nsock)
end
#
@ -104,7 +104,7 @@ module Exploit::Remote::Ftp
#
def send_pass(pass, nsock = self.sock)
raw_send("PASS #{pass}\r\n", nsock)
recv_ftp_resp()
recv_ftp_resp(nsock)
end
#
@ -154,7 +154,7 @@ module Exploit::Remote::Ftp
end
end
if found_end
if !left.empty? throw "ut oh!"
throw "ut oh!" if !left.empty?
return resp
end
end