1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
netrc
FTP
</keywords>
</info>
# Server-side
<reply>
<data>
content
</data>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<features>
proxy
</features>
<name>
.netrc with embedded NULL byte
</name>
<command>
--netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
<file name="%LOGDIR/netrc%TESTNUMBER" >
machine %HOSTIP login username password%hex[%00]hex% hello
</file>
</client>
<verify>
<protocol crlf="yes">
USER username
PASS%SP
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>
|