mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
dcc-fuzz docs, dcc-tokens
This commit is contained in:
parent
fd496acb10
commit
06d1c2b140
2 changed files with 91 additions and 1 deletions
|
|
@ -100,8 +100,9 @@ nix build .#fuzz-asan
|
|||
# Basic fuzzing (creates corpus automatically)
|
||||
./result/bin/irssi-fuzz corpus/irssi-fuzz/
|
||||
|
||||
# With dictionary (recommended for server-fuzz)
|
||||
# With dictionary (recommended for server-fuzz and dcc-fuzz)
|
||||
./result/bin/server-fuzz -dict=src/fe-fuzz/tokens.txt corpus/server-fuzz/
|
||||
./result/bin/dcc-fuzz -dict=src/fe-fuzz/dcc-tokens.txt corpus/dcc-fuzz/
|
||||
|
||||
# Limit number of runs
|
||||
./result/bin/irssi-fuzz -runs=10000 corpus/irssi-fuzz/
|
||||
|
|
|
|||
89
src/fe-fuzz/dcc-tokens.txt
Normal file
89
src/fe-fuzz/dcc-tokens.txt
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
# DCC protocol fuzzer dictionary
|
||||
# DCC command types
|
||||
"SEND"
|
||||
"GET"
|
||||
"CHAT"
|
||||
"RESUME"
|
||||
"ACCEPT"
|
||||
"REJECT"
|
||||
"SERVER"
|
||||
|
||||
# DCC server protocol numbers
|
||||
"100"
|
||||
"101"
|
||||
"110"
|
||||
"120"
|
||||
"121"
|
||||
|
||||
# CTCP markers
|
||||
"\x01"
|
||||
"\x01DCC"
|
||||
"\x01DCC SEND"
|
||||
"\x01DCC CHAT"
|
||||
|
||||
# Special IP values
|
||||
"16843009"
|
||||
"3232235777"
|
||||
"127.0.0.1"
|
||||
"::1"
|
||||
|
||||
# Port values
|
||||
"0"
|
||||
"1234"
|
||||
"6667"
|
||||
"65535"
|
||||
|
||||
# File sizes
|
||||
"1"
|
||||
"100"
|
||||
"1000"
|
||||
"4294967295"
|
||||
|
||||
# Passive IDs
|
||||
"42"
|
||||
"63"
|
||||
|
||||
# Delimiters and quoting
|
||||
"\""
|
||||
" "
|
||||
":"
|
||||
|
||||
# Protocol prefixes
|
||||
"DCC "
|
||||
"CTCP_MESSAGE "
|
||||
"CTCP_REPLY "
|
||||
"ACTION "
|
||||
|
||||
# DCC server flags
|
||||
"+"
|
||||
"-"
|
||||
"s"
|
||||
"c"
|
||||
"f"
|
||||
"S"
|
||||
"C"
|
||||
"F"
|
||||
"+s"
|
||||
"+c"
|
||||
"+f"
|
||||
"-s"
|
||||
"-c"
|
||||
"-f"
|
||||
|
||||
# Common filename patterns
|
||||
"test.txt"
|
||||
"file.txt"
|
||||
"\"file with spaces.txt\""
|
||||
"file_with_underscores.txt"
|
||||
|
||||
# Chat argument
|
||||
"chat"
|
||||
"CHAT"
|
||||
|
||||
# Query prefix for DCC chat
|
||||
"="
|
||||
|
||||
# Common nicks
|
||||
"nick"
|
||||
"testnick"
|
||||
"fuzzernick"
|
||||
Loading…
Add table
Add a link
Reference in a new issue