OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 # Fuzzer dictionary targetting FTP responses. |
| 6 |
| 7 # Each response is on its own line, so CRLF is generally useful. |
| 8 "\x0D\x0A" |
| 9 |
| 10 # End of string marker, used by FuzzedDataProvider. |
| 11 "\\ " |
| 12 |
| 13 # Suffixes for file types. |
| 14 ";type=a" |
| 15 ";type=i" |
| 16 ";type=d" |
| 17 |
| 18 # Dashes indicate multi-line responses. |
| 19 "-" |
| 20 |
| 21 # Generic success. |
| 22 "200 OK\x0D\x0A\\ " |
| 23 |
| 24 # Greeting |
| 25 "230 Welcome\x0D\x0A\\ " |
| 26 |
| 27 # SIZE response |
| 28 "213 18\x0D\x0A\\ " |
| 29 |
| 30 # All important PASV/EPSV responses |
| 31 "227 Entering PASV mode (1,1,1,1,50,50)\x0D\x0A\\ " |
| 32 "227 Entering Passive Mode 127,0,0,1,123,456\x0D\x0A\\ " |
| 33 "227 Entering Extended Passive Mode (|||31744|)\x0D\x0A\\ " |
| 34 "227 Entering The Twilight Zone\x0D\x0A\\ " |
| 35 |
| 36 # RETR/LIST response. |
| 37 "125-Data connection already open.\x0D\x0A125 Transfer starting.\x0D\x0A226 Tra
nsfer complete.\x0D\x0A\\ " |
| 38 "125-Data connection already open.\x0D\x0A\\ " |
| 39 "125 Transfer starting.\x0D\x0A\\ " |
| 40 "226 Transfer complete.\x0D\x0A\\ " |
| 41 |
| 42 # Some specific success messages, taken from unittests. |
| 43 "215 UNIX\x0D\x0A\\ " |
| 44 "215 VMS\x0D\x0A\\ " |
| 45 "220 host TestFTPd\x0D\x0A\\ " |
| 46 "221 Goodbye!\x0D\x0A\\ " |
| 47 "257 \"/\" is your current location\x0D\x0A\\ " |
| 48 "257 \"ANONYMOUS_ROOT:[000000]\"\x0D\x0A\\ " |
| 49 |
| 50 # Error messages, taken from unittests. |
| 51 "331 Password needed\x0D\x0A\\ " |
| 52 "331 User okay, send password\x0D\x0A\\ " |
| 53 "451 not a directory\x0D\x0A\\ " |
| 54 "500 EPSV command unknown\x0D\x0A\\ " |
| 55 "503 Bad sequence of commands\x0D\x0A\\ " |
| 56 "530 Login authentication failed\x0D\x0A\\ " |
| 57 "550 I can only retrieve regular files\x0D\x0A\\ " |
| 58 "550 Not a directory\x0D\x0A\\ " |
| 59 "599 I'm sorry, Dave, I'm afraid I can't do that.\x0D\x0A\\ " |
OLD | NEW |