1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-13 08:20:06 +00:00
opentracker/testsuite.sh

13 lines
308 B
Bash
Raw Normal View History

2007-01-04 21:34:10 +00:00
#!/bin/sh
while true; do
request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xff )) )&\
2007-01-05 00:00:42 +00:00
ip=10.1.1.$(( $RANDOM & 0xff ))&port=$(( $RANDOM & 0xff )) HTTP/1.0\n"
2007-01-04 21:34:10 +00:00
# echo -e $request_string
# echo
echo -e $request_string | nc 127.0.0.1 6969 >/dev/null &
# echo
2007-01-04 21:34:10 +00:00
done