From 3d54ca32fe676c9a47a8e1e914f78cbd9c461906 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Thu, 4 Jan 2007 21:34:10 +0000 Subject: Shell Testsuite --- testsuite.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testsuite.sh diff --git a/testsuite.sh b/testsuite.sh new file mode 100644 index 0000000..001bc5f --- /dev/null +++ b/testsuite.sh @@ -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 -- cgit v1.2.3