Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Side by Side Diff: net/data/fuzzer_dictionaries/net_url_request_ftp_fuzzer.dict

Issue 2469813002: Add a URLRequest FTP fuzzer. (Closed)
Patch Set: Minor fixes Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 # Dashes indicate multi-line responses.
14 "-"
15
16 # Generic success.
17 "200 OK\x0D\x0A\\ "
18
19 # Greeting
20 "230 Welcome\x0D\x0A\\ "
21
22 # SIZE response
23 "213 18\x0D\x0A\\ "
24
25 # All important PASV/EPSV responses
26 "227 Entering PASV mode (1,1,1,1,50,50)\x0D\x0A\\ "
27 "227 Entering Passive Mode 127,0,0,1,123,456\x0D\x0A\\ "
28 "227 Entering Extended Passive Mode (|||31744|)\x0D\x0A\\ "
29 "227 Entering The Twilight Zone\x0D\x0A\\ "
30
31 # RETR/LIST response.
32 "125-Data connection already open.\x0D\x0A125 Transfer starting.\x0D\x0A226 Tra nsfer complete.\x0D\x0A\\ "
33 "125-Data connection already open.\x0D\x0A\\ "
34 "125 Transfer starting.\x0D\x0A\\ "
35 "226 Transfer complete.\x0D\x0A\\ "
36
37 # Some specific success messages, taken from unittests.
38 "215 UNIX\x0D\x0A\\ "
39 "215 VMS\x0D\x0A\\ "
40 "220 host TestFTPd\x0D\x0A\\ "
41 "221 Goodbye!\x0D\x0A\\ "
42 "257 \"/\" is your current location\x0D\x0A\\ "
43 "257 \"ANONYMOUS_ROOT:[000000]\"\x0D\x0A\\ "
44
45 # Error messages, taken from unittests.
46 "331 Password needed\x0D\x0A\\ "
47 "331 User okay, send password\x0D\x0A\\ "
48 "451 not a directory\x0D\x0A\\ "
49 "500 EPSV command unknown\x0D\x0A\\ "
50 "503 Bad sequence of commands\x0D\x0A\\ "
51 "530 Login authentication failed\x0D\x0A\\ "
52 "550 I can only retrieve regular files\x0D\x0A\\ "
53 "550 Not a directory\x0D\x0A\\ "
54 "599 I'm sorry, Dave, I'm afraid I can't do that.\x0D\x0A\\ "
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698