summaryrefslogtreecommitdiff
path: root/nocompile
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-07-04 08:39:28 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-07-04 08:39:28 -0500
commitb6a347373a6c933a457ed588e3ce9c6b5178d8ba (patch)
tree5a78389e7a3c10c8bd93da7fe807ab1b6644e6fd /nocompile
parent75f05369650cc05002b9c131a8453714dcf14dde (diff)
downloadmisc-b6a347373a6c933a457ed588e3ce9c6b5178d8ba.tar.gz
misc-b6a347373a6c933a457ed588e3ce9c6b5178d8ba.zip
don't remember except for greed.sh
Diffstat (limited to 'nocompile')
-rw-r--r--nocompile/bin/greed.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/nocompile/bin/greed.sh b/nocompile/bin/greed.sh
new file mode 100644
index 0000000..2bfbf17
--- /dev/null
+++ b/nocompile/bin/greed.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#helper script. used in epoch's /etc/ifconfig.gre0 for his laptop
+#usage: $0 $interface $VPN_endpoint $port
+#needs epoch's hop0 and gethostbyname or equivalent programs. :P
+ifconfig "$1" tunnel "$(hop0 "$2")","$3" "$(gethostbyname "$2")","$3"