ORC Owl Logo 2

Owl River Company

Initial Dialup Setup

IP Address maps to:
$SMURF"; } ?> */ $url=parse_url($HTTP_REFERER); if(isset($PUID)){ ## $CLEAN = strtr(); ## per Phil Jensen -- 0 is 060 -- 9 is 071 ## COLUG list 12-21-99 ## tr -d '\0-\57\72-\100\133-\140\173-\377' ## ## ## allow NULL, and any hex digit ## ## /usr/bin/tr -d '\001-\057\72-\100\107-\140\147-\377' ## ## numbers only tr -d '\0-\57\72-\377' ## $CLEAN = exec("echo $PUID | /usr/bin/tr -d '\0-\57' | /usr/bin/tr -d '\72-\377' "); $CLEAN = exec("( echo -n $PUID ; echo \"00000000\" ) | \\ /usr/bin/tr -d '\001-\057\072-\100\107-\140\147-\377' | \\ cut -b 1-8 "); echo "
Unit ID: $CLEAN"; ## $MD5 = md5($CLEAN); ## echo "
Checksum: $MD5"; ## ## ... we produce a pair of files -- one prefixed with PUID, the ## other containing the value of the PUID, and then ".ip." ## and then the invoking IP -- all carry a timestamp ## ## All passed PUID's are right padded with Zeroes ## $WHERE = "/home/orc/pubhtml/setup/log/PUID.$CLEAN"; $return = exec("echo $REMOTE_ADDR > $WHERE"); $WHERE = "/home/orc/pubhtml/setup/log/IP.$CLEAN.ip.$REMOTE_ADDR"; $return = exec("echo $REMOTE_ADDR > $WHERE"); } ?>