mirror of
git://erdgeist.org/opentracker
synced 2025-04-10 23:25:57 +08:00
Shell Testsuite
This commit is contained in:
parent
33eaf54da7
commit
3d54ca32fe
13
testsuite.sh
Normal file
13
testsuite.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/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"
|
||||||
|
|
||||||
|
echo -e $request_string
|
||||||
|
echo
|
||||||
|
echo -e $request_string | nc erdgeist.org 6969 | tr -C "[:print:]" _
|
||||||
|
echo
|
||||||
|
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user