From 143f5d880e560015f64c8b06e2f019c1f4ba038e Mon Sep 17 00:00:00 2001 From: xSmurf Date: Wed, 23 Sep 2015 22:49:10 +0000 Subject: [PATCH] Added tor-links and tor-newnym helpers --- board/coreboot/rootfs-additions/opt/bin/tor_links | 3 +++ board/coreboot/rootfs-additions/opt/bin/tor_newnym | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 board/coreboot/rootfs-additions/opt/bin/tor_links create mode 100755 board/coreboot/rootfs-additions/opt/bin/tor_newnym diff --git a/board/coreboot/rootfs-additions/opt/bin/tor_links b/board/coreboot/rootfs-additions/opt/bin/tor_links new file mode 100755 index 0000000..30fa22d --- /dev/null +++ b/board/coreboot/rootfs-additions/opt/bin/tor_links @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/bin/links -only-proxy -socks-prozy 127.0.0.1:9050 diff --git a/board/coreboot/rootfs-additions/opt/bin/tor_newnym b/board/coreboot/rootfs-additions/opt/bin/tor_newnym new file mode 100755 index 0000000..677155c --- /dev/null +++ b/board/coreboot/rootfs-additions/opt/bin/tor_newnym @@ -0,0 +1,3 @@ +#!/bin/sh + +echo AUTHENTICATE `/usr/binhexdump -e '32/1 "%02x""\n"' /var/lib/tor/.tor/control_auth_cookie`$'\n'SIGNAL NEWNYM | /usr/bin/nc 127.0.0.1 9051