#!/bin/bash
NEW_IP=`curl -s "http://whatismyip.com/automation/n09230945.asp"`
HEUSER=556e527c5ef766e74a980XXXXXXXXXXX
HEPASS=XXXX
HETUNNEL=XXXX
HEPASS=`echo -n $HEPASS | md5sum | cut -d ' ' -f 1`
curl -k -s "http://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=$NEW_IP&pass=$HEPASS&user_id=$HEUSER&tunnel_id=$HETUNNEL"