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

14 lines
334 B
Bash

#!/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