Skip to content

Instantly share code, notes, and snippets.

@facerip
Created December 13, 2013 13:34
Show Gist options
  • Save facerip/7944281 to your computer and use it in GitHub Desktop.
Save facerip/7944281 to your computer and use it in GitHub Desktop.
Extremely Simple Network Application Fuzzer. Sends random data from the dd utility to a netcat pipe. Tests input for the Rcon protocol.
#!/bin/bash
host="localhost"
port="27960"
nc="$(which nc)"
pass="cat"
timeout="3"
fuzz=`dd if=/dev/urandom bs=1K count=1b`
while :; do
echo -e "\xff\xff\xff\xffrcon $pass $fuzz" | $nc -q $timeout -u $host $port
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment