| 1 |
<info> |
| 2 |
<keywords> |
| 3 |
FTP |
| 4 |
PORT |
| 5 |
FAILURE |
| 6 |
</keywords> |
| 7 |
</info> |
| 8 |
# Server-side |
| 9 |
<reply> |
| 10 |
</reply> |
| 11 |
|
| 12 |
# Client-side |
| 13 |
<client> |
| 14 |
<server> |
| 15 |
ftp |
| 16 |
</server> |
| 17 |
<name> |
| 18 |
FTP download, failed PORT |
| 19 |
</name> |
| 20 |
<command> |
| 21 |
ftp://%HOSTIP:%FTPPORT/116 -P 127.0.0.1 |
| 22 |
</command> |
| 23 |
<file name="log/ftpserver.cmd"> |
| 24 |
REPLY PORT 314 bluah you f00l! |
| 25 |
</file> |
| 26 |
</client> |
| 27 |
|
| 28 |
# Verify data after the test has been "shot" |
| 29 |
<verify> |
| 30 |
<errorcode> |
| 31 |
30 |
| 32 |
</errorcode> |
| 33 |
<strip> |
| 34 |
^PORT 127,0,0,1,.* |
| 35 |
^EPRT .* |
| 36 |
^LPRT .* |
| 37 |
</strip> |
| 38 |
<protocol> |
| 39 |
USER anonymous |
| 40 |
PASS [email protected] |
| 41 |
PWD |
| 42 |
QUIT |
| 43 |
</protocol> |
| 44 |
</verify> |