display-file.sh - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- display-file.sh (532B) --- 1 #!/bin/sh 2 3 # TODO: Use network namespaces for concurrent execution. 4 5 if [ $# -lt 1 ]; 6 then 7 printf "usage: %s file.ipart\n" "$(basename "$0")" >&2 8 exit 1 9 fi 10 11 ipartfile="$1" 12 13 # bitreich.org 14 ipv6prefix="2a01:4f8:1c17:4885:0" 15 ipv6if="eth0" 16 17 requestip="2a01:4f8:1c17:4885::1337" 18 requestport="80" 19 requeststr="GET /dickbutt HTTP/1.0\r\n\r\n" 20 21 ./ip-art-addresses.awk "${ipv6prefix}" "${ipartfile}" \ 22 | while read -r line; 23 do 24 sudo /br/bin/show-ip-pixels.sh "$ipv6if" "$line" "$requestip" \ 25 "$requestport" "$requeststr" 26 sleep 0.1 27 done 28