aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/dict/http
blob: 3b0531579d9fa47afd15dd22425f18e29b1a77c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# AFL dictionary for the Tor Directory protocol's HTTP headers
# ------------------------------------------------------------
#
# Extracted from directory_handle_command() in the tor source code
#
# Copyright (c) 2016-2017, The Tor Project, Inc.
# See LICENSE for licensing information
#
# Usage:
# Select the dictionaries relevant to the part of the directory protocol you
# are fuzzing, and feed them to your fuzzer (if it supports dictionaries).

http_header_body_delimiter = "\x0d\x0a\x0d\x0a"
http_header_header_delimiter = "\x0d\x0a"
# multi-character tokens only
#http_header_value_delimiter = " "

content_length_header = "Content-Length:"
forwarded_for_header = "Forwarded-For:"
x_forwarded_for_header = "X-Forwarded-For:"

get_command = "GET"
post_command = "POST"