diff options
author | erdgeist <> | 2007-01-05 00:00:42 +0000 |
---|---|---|
committer | erdgeist <> | 2007-01-05 00:00:42 +0000 |
commit | cdf2fbabedcd3b9e2423cce74225744db1acc178 (patch) | |
tree | 8ae4f49c81dcd8507bf0629405d647386e60a96d /testsuite.sh | |
parent | 3d54ca32fe676c9a47a8e1e914f78cbd9c461906 (diff) |
README\!
Diffstat (limited to 'testsuite.sh')
-rw-r--r-- | testsuite.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite.sh b/testsuite.sh index 001bc5f..6b2dad9 100644 --- a/testsuite.sh +++ b/testsuite.sh | |||
@@ -1,13 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | while true; do | 3 | while true; do |
4 | request_string="GET /announce?info_hash=012345678901234567%$(printf %02X `jot -r 1 0 255`)%$(printf %02X `jot -r 1 0 255`)&\ | 4 | request_string="GET /announce?info_hash=0123456789012345678%$(printf %02X $(( $RANDOM & 0xff )) )&\ |
5 | ip=10.1.1.`jot -r 1 0 255`&\ | 5 | ip=10.1.1.$(( $RANDOM & 0xff ))&port=$(( $RANDOM & 0xff )) HTTP/1.0\n" |
6 | port=`jot -r 1 0 255` HTTP/1.0\n" | ||
7 | 6 | ||
8 | echo -e $request_string | 7 | echo -e $request_string |
9 | echo | 8 | echo |
10 | echo -e $request_string | nc erdgeist.org 6969 | tr -C "[:print:]" _ | 9 | echo -e $request_string | nc 213.73.88.214 6969 | tr -C "[:print:]" _ |
11 | echo | 10 | echo |
12 | 11 | ||
13 | done | 12 | done |