mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Guide fuzzing by adding standard tor GET and POST testcases
This commit is contained in:
parent
56b61d1831
commit
416e2f6b28
24
src/test/fuzz/dict/http
Normal file
24
src/test/fuzz/dict/http
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# AFL dictionary for the Tor Directory protocol's HTTP headers
|
||||
# ------------------------------------------------------------
|
||||
#
|
||||
# Extracted from directory_handle_command() in the tor source code
|
||||
#
|
||||
# Copyright (c) 2016, 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"
|
Loading…
Reference in New Issue
Block a user