Ning
Create Your Own Social Network
Replied Jul. 30, 2008
2 members
131 members
78 members
Join this social network
Welcome toHouse of Hackers
Sign Up or Sign In
Create your own social network!
© 2009 Created by pdp on Ning. Create Your Own Social Network
Badges | Report an Issue | Privacy | Terms of Service
Please check your browser settings or contact your system administrator.
Comment Wall (4 comments)
You need to be a member of House of Hackers to add comments!
Join this social network
#!/bin/sh
user=
pass=
tunnel_id=
ipv4a=a.b.c.d
ipv4b=`ifconfig ppp0 | sed -e 's/.*inet addr:\([0-9.]*\).*/\1/p;d'`
# example: ipv6a=2001:470:1f06:14c::1/64
ipv6a=
# example: ipv6b=2001:470:1f06:14c::2/64
ipv6b=
ifconfig sit0 up
ifconfig sit0 inet6 tunnel ::$ipv4a
ifconfig sit1 up
ifconfig sit1 inet6 add $ipv6b
route -A inet6 add ::/0 dev sit1
md5pass=`echo -n "$pass" | openssl md5`
tmp=`mktemp`
wget -O - -q --keep-session-cookies --save-cookies=$tmp \
--post-data="f_user=$user&f_pass=$md5pass&Login=Login" \
http://ipv4.tunnelbroker.net/login.php > /dev/null
wget -O - -q --keep-session-cookies --load-cookies=$tmp \
--post-data="ipv4b=$ipv4b&tunnel_id=$tunnel_id&update=Submit" \
http://ipv4.tunnelbroker.net/ipv4_end.php > /dev/null
rm $tmp