From cdf2fbabedcd3b9e2423cce74225744db1acc178 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 5 Jan 2007 00:00:42 +0000 Subject: README\! --- testsuite.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'testsuite.sh') diff --git a/testsuite.sh b/testsuite.sh index 001bc5f..6b2dad9 100644 --- a/testsuite.sh +++ b/testsuite.sh @@ -1,13 +1,12 @@ #!/bin/sh while true; do - request_string="GET /announce?info_hash=012345678901234567%$(printf %02X `jot -r 1 0 255`)%$(printf %02X `jot -r 1 0 255`)&\ -ip=10.1.1.`jot -r 1 0 255`&\ -port=`jot -r 1 0 255` HTTP/1.0\n" + request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xff )) )&\ +ip=10.1.1.$(( $RANDOM & 0xff ))&port=$(( $RANDOM & 0xff )) HTTP/1.0\n" echo -e $request_string echo - echo -e $request_string | nc erdgeist.org 6969 | tr -C "[:print:]" _ + echo -e $request_string | nc 213.73.88.214 6969 | tr -C "[:print:]" _ echo done -- cgit v1.2.3