xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | PASV |
| 6 | FAILURE |
| 7 | </keywords> |
| 8 | </info> |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <servercmd> |
| 12 | REPLY PASV 314 bluah you f00l! |
| 13 | REPLY EPSV 314 bluah you f00l! |
| 14 | </servercmd> |
| 15 | </reply> |
| 16 | |
| 17 | # Client-side |
| 18 | <client> |
| 19 | <server> |
| 20 | ftp |
| 21 | </server> |
| 22 | <name> |
| 23 | FTP download, failed PASV |
| 24 | </name> |
| 25 | <command> |
| 26 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER |
| 27 | </command> |
| 28 | </client> |
| 29 | |
| 30 | # Verify data after the test has been "shot" |
| 31 | <verify> |
| 32 | <errorcode> |
| 33 | 13 |
| 34 | </errorcode> |
| 35 | <protocol> |
| 36 | USER anonymous
|
| 37 | PASS ftp@example.com
|
| 38 | PWD
|
| 39 | EPSV
|
| 40 | PASV
|
| 41 | QUIT
|
| 42 | </protocol> |
| 43 | </verify> |
| 44 | </testcase> |