about summary refs log tree commit diff
path: root/custom_mutators/custom_send_tcp/README.md
blob: 7b4bb869d02f2e4ef1795a071201859c130dcf2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Send testcases via TCP custom mutator

This custom mutator sends the fuzzing testcases via TCP.

`AFL_CUSTOM_MUTATOR_LATE_SEND` - MUST be set!
`CUSTOM_SEND_IP` - the IP address to send to (basically only 127.0.0.1 makes sense)
`CUSTOM_SEND_PORT` - the TCP port to send to
`CUSTOM_SEND_READ` - if the custom mutator should wait for a reply from the target

Example:
```
CUSTOM_SEND_IP=127.0.0.1 CUSTOM_SEND_PORT=8000 CUSTOM_SEND_READ=1 AFL_CUSTOM_MUTATOR_LATE_SEND=1 AFL_CUSTOM_MUTATOR_LIBRARY=custom_send_tcp.so ./afl-fuzz ...
```