You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
opentracker/testsuite.sh

13 lines
305 B
Bash

18 years ago
#!/bin/sh
while true; do
request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xf )) )&\
18 years ago
ip=10.1.1.$(( $RANDOM & 0xff ))&port=$(( $RANDOM & 0xff )) HTTP/1.0\n"
18 years ago
# echo -e $request_string
# echo
echo -e $request_string | nc 127.0.0.1 6969 >/dev/null
# echo
18 years ago
done