diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/anonet_map.sh | 11 | ||||
-rwxr-xr-x | examples/xcmd.sh | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/examples/anonet_map.sh b/examples/anonet_map.sh new file mode 100755 index 0000000..2c66640 --- /dev/null +++ b/examples/anonet_map.sh @@ -0,0 +1,11 @@ +#!/bin/bash +cat <(printf "%s move 0 0 -270\n" "$USER") \ + <(wget http://hacking.allowed.org/cgi-bin/map_hackvr.cgi -qO- 2>/dev/null) \ + /dev/stdin \ + | slowcat 0 \ + | hackvr_x11 "$USER" \ + | grep --line-buffered action \ + | stdbuf -oL cut '-d ' -f3 \ + | xargs -r -L1 printf "AS%s\n" \ + | tee /dev/stderr \ + | xargs -r -L1 ./xcmd.sh whois -h hacking.allowed.org diff --git a/examples/xcmd.sh b/examples/xcmd.sh new file mode 100755 index 0000000..0c230d6 --- /dev/null +++ b/examples/xcmd.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec $* | xmessage -file - & |