0byt3m1n1
Path:
/
data
/
17
/
1
/
18
/
11
/
1670011
/
user
/
1801231
/
htdocs
/
tanningonline_com
/
linkmachine
/
[
Home
]
File: linkmachine.php
<?php /*LinkMachine Copyright 2004, 2005 IronZog, All Rights Reserved*/ error_reporting( E_ALL ^ E_NOTICE); $O1hv=ini_get("\144\151\163\141\142\154\145\137\146\165\156\143\164\151\157\156\163"); if (strpos($O1hv,"\151\156\151\137\163\145\164") === FALSE) { $l1hw=ini_get("\155\145\155\157\162\171\137\154\151\155\151\164"); if ( isset ($l1hw) && ($l1hw != "")) { $l1hw= (int) str_replace("\115","",$l1hw); if ($l1hw<024) { ini_set("\155\145\155\157\162\171\137\154\151\155\151\164","\062\060\115"); } } } function includeerrorhandler($l1bl,$O1bl,$l1hn,$O1hn) { if ($l1bl == 8) { return; } checkup(); echo "\074\142\076\105\162\162\157\162\074\057\142\076\040\133$l1bl\135\040$O1bl\074\142\162\040\057\076\n"; echo "\040\040\105\162\162\157\162\040\151\156\040\154\151\156\145\040$O1hn\040\157\146\040\146\151\154\145\040$l1hn"; echo "\054\040\120\110\120\040".PHP_VERSION."\040\050".PHP_OS."\051\074\142\162\040\057\076\n"; exit (); } $l1ba=074*017; if ($ua == "\164\145\163\164") { echo "\163\165\143\143\145\163\163"; exit (); } else if ($ua == "\143\150\145\143\153\165\160") { checkup(); exit (); } else if ($ua == "\141\144\144\137\164\157\137\143\146\147") { $O1bh=fopen("\154\155\056\143\146\147","\141"); fwrite($O1bh,"\n".$O1g0); fclose($O1bh); flush(); } $O1ba=l1bb(); $GLOBALS[O1bb]=FALSE; $GLOBALS[l1bc]=FALSE; $GLOBALS[l1ho]=FALSE; if (is_array($O1ba["\160\162\145\166\137\160\151\156\147\137\164\151\155\145"])) { $O1ba["\160\162\145\166\137\160\151\156\147\137\164\151\155\145"]=0; } if (((time()-$O1ba["\160\162\145\166\137\160\151\156\147\137\164\151\155\145"])>=$l1ba) || (!file_exists("\154\155\056\160\150\160")) || (filesize("\154\155\056\160\150\160")<01750)) { $GLOBALS[l1ho]=$O1ba["\165\163\145\137\143\165\162\154"]=O1bc($O1ba); } set_error_handler("\111\156\143\154\165\144\145\105\162\162\157\162\110\141\156\144\154\145\162"); include "\154\155\056\160\150\160"; restore_error_handler(); $GLOBALS[l1ho]=$O1ba["\165\163\145\137\143\165\162\154"]; if (($GLOBALS[O1bb] == TRUE) && ($O1ba["\151\156\151\164\151\141\154\151\172\145\144"] == TRUE)) { l1bd($O1ba); } if ($O1ba["\151\156\151\164\151\141\154\151\172\145\144"] != TRUE) { O1bd($O1ba); $O1ba["\165\163\145\137\143\165\162\154"]=$GLOBALS[l1ho]; $GLOBALS[l1bc]=TRUE; } if ($GLOBALS[l1bc] == TRUE) { l1be($O1ba); } O1be($O1ba); function O1bc( &$l1bf) { $O1vt=""; if ($O1bh= @ fopen("\154\155\056\143\146\147","\162")) { $O1vt=fread($O1bh,filesize("\154\155\056\143\146\147")); fclose($O1bh); } $l1bg=""; $O1ho=FALSE; $l1hp=FALSE; $O1hp="\154\155\056\164\170\164"; if (file_exists("\164\145\163\164\056\164\170\164")) { $l1hq=file("\164\145\163\164\056\164\170\164"); $O1hp=reset($l1hq); $O1hp=str_replace("\n","",$O1hp); $O1hp=str_replace("\n","",$O1hp); } $O1bf="\150\164\164\160\072\057\057\154\151\156\153\155\141\143\150\151\156\145\056\156\145\164\057\160\151\156\147\056\160\150\160\077\165\163\145\162\137\145\155\141\151\154\075".$l1bf["\165\163\145\162\137\145\155\141\151\154"]."\046\142\141\163\145\137\165\162\154\075".$l1bf["\142\141\163\145\137\165\162\154"]."\046\143\154\151\145\156\164\137\151\160\075".$GLOBALS[REMOTE_ADDR]."\046\162\145\155\157\164\145\137\156\141\155\145\075".$O1hp; if (strpos($O1vt,"\146\157\162\143\145\137\165\163\145\137\143\165\162\154") === FALSE) { $l1bg=O1bg($O1bf,TRUE,FALSE); } if (($l1bg == "") && function_exists("\143\165\162\154\137\151\156\151\164")) { $l1bg=O1bg($O1bf,TRUE,TRUE); if ($l1bg != "") { $O1ho=TRUE; O1bg("\150\164\164\160\072\057\057\154\151\156\153\155\141\143\150\151\156\145\056\156\145\164\057\162\145\143\157\162\144\137\145\162\162\157\162\056\160\150\160\077\145\162\162\157\162\075\116\145\167\053\151\156\163\164\141\154\154\141\164\151\157\156\053\162\145\161\165\151\162\145\163\053\103\125\122\114\046\165\163\145\162\137\151\160\075".$GLOBALS[REMOTE_ADDR],TRUE,TRUE); } } $l1vu=O1vu($l1bg); $lcd=$l1vu["\154\143\144"]; $num_lcs=$l1vu["\156\165\155\137\154\143\163"]; $l1vv=$l1vu["\156\165\155\137\163\151\164\145\163\137\160\165\162\143\150\141\163\145\144"]; $trial_remaining=$l1vu["\164\162\151\141\154\137\162\145\155\141\151\156\151\156\147"]; $csize=$l1vu["\143\163\151\172\145"]; if ( isset ($lcd)) { $l1bf["\154\151\143\145\156\163\145\144"]=$lcd; } if ( isset ($num_lcs)) { $l1bf["\156\165\155\137\163\151\164\145\163\137\160\165\162\143\150\141\163\145\144"]=$num_lcs; } if ( isset ($trial_remaining)) { $trial_remaining= (int) ($trial_remaining); $l1bf["\164\162\151\141\154\137\145\156\144\137\164\151\155\145"]=time()+$trial_remaining; } if ( isset ($csize) && ($csize>0) && ((!file_exists("\154\155\056\160\150\160")) || (filesize("\154\155\056\160\150\160") != $csize)) && (strpos($O1vt,"\156\157\137\141\165\164\157\137\165\160\144\141\164\145") === FALSE)) { $l1bh=O1bg("\150\164\164\160\072\057\057\154\151\156\153\155\141\143\150\151\156\145\056\156\145\164\057".$O1hp,TRUE,$O1ho); $O1bh= @ fopen("\154\155\056\160\150\160","\167"); if ($O1bh == FALSE) { echo l1bi("","\120\154\145\141\163\145\040\155\141\153\145\040\163\165\162\145\040\164\150\141\164\040\171\157\165\162\040\163\151\164\145\047\163\040\047\154\151\156\153\155\141\143\150\151\156\145\047\040\144\151\162\145\143\164\157\162\171\040\141\156\144\040\047\154\155\056\160\150\160\047\040\146\151\154\145\040\150\141\166\145\040\141\154\154\040\167\162\151\164\145\040\160\145\162\155\151\163\163\151\157\156\163\040\163\145\164\040\164\157\040\164\162\165\145\054\040\164\150\145\156\040\164\162\171\040\141\147\141\151\156\056"); exit (); } else { fwrite($O1bh,$l1bh); fclose($O1bh); } $GLOBALS[O1bb]=TRUE; } $l1bf["\160\162\145\166\137\160\151\156\147\137\164\151\155\145"]=time(); $GLOBALS[l1bc]=TRUE; return $O1ho; } function O1vu($O1vv) { $l1vu=array(); $l1vw=strlen($O1vv); $l1f5=0; $O1vw=0; $l1vx=0; while (($l1f5<$l1vw) && (($O1vw=strpos($O1vv,"\075",$l1f5)) !== FALSE)) { $O1vx=substr($O1vv,$l1f5,$O1vw-$l1f5); $l1vy=$O1vw+1; if ($l1vy>=$l1vw) break; if (($l1vx=strpos($O1vv,"\046",$l1vy)) !== FALSE) { $O1vy=substr($O1vv,$l1vy,$l1vx-$l1vy); $l1f5=$l1vx+1; } else { $O1vy=substr($O1vv,$l1vy); $l1f5=$l1vw; } $l1vu[$O1vx]=$O1vy; } return $l1vu; } function l1bb() { if (file_exists("\154\151\156\153\155\141\143\150\151\156\145\056\144\141\164")) { $O1bh=fopen("\154\151\156\153\155\141\143\150\151\156\145\056\144\141\164","\162"); $O1bi=fread($O1bh,filesize("\154\151\156\153\155\141\143\150\151\156\145\056\144\141\164")); fclose($O1bh); $O1bi=base64_decode($O1bi); if ((substr($O1bi,0,1) != "\141") && (version_compare(phpversion(),"\064\056\062\056\060")>=0)) { $O1bi=str_rot13($O1bi); } return unserialize($O1bi); } else { $O1ba=array(); $O1ba["\151\156\151\164\151\141\154\151\172\145\144"]=FALSE; $O1ba["\154\151\143\145\156\163\145\144"]=FALSE; $O1ba["\156\165\155\137\163\151\164\145\163\137\160\165\162\143\150\141\163\145\144"]=0; $O1ba["\160\162\145\166\137\160\151\156\147\137\164\151\155\145"]=0; $O1ba["\164\162\151\141\154\137\145\156\144\137\164\151\155\145"]=0; return $O1ba; } } function O1bg($l1bj,$O1bj=TRUE,$O1hq=FALSE) { if ($O1hq && function_exists("\143\165\162\154\137\151\156\151\164")) { $l1hr=curl_init(); curl_setopt($l1hr,CURLOPT_URL,$l1bj); curl_setopt($l1hr,CURLOPT_CONNECTTIMEOUT,012); curl_setopt($l1hr,CURLOPT_TIMEOUT,017); curl_setopt($l1hr,CURLOPT_HEADER,0); curl_setopt($l1hr,O1hr,1); curl_setopt($l1hr,CURLOPT_RETURNTRANSFER,1); curl_setopt($l1hr,CURLOPT_USERAGENT,"\115\123\111\105"); $l1bm=curl_exec($l1hr); $l1hs=curl_errno($l1hr); $O1bl=curl_error($l1hr); curl_close($l1hr); } else { $l1bm=""; $O1hs=FALSE; if ($O1bj) { $l1bk=str_replace("\150\164\164\160\163\072\057\057","",$l1bj); $l1bk=str_replace("\150\164\164\160\072\057\057","",$l1bk); if (is_integer(strpos($l1bk,"\057"))) { $l1bk=substr($l1bk,0,strpos($l1bk,"\057")); } if ($O1bk= @ fsockopen($l1bk,0120,$l1bl,$O1bl,5)) { fclose($O1bk); } else { $O1hs=TRUE; } } if (!$O1hs) { $O1bk= @ fopen($l1bj,"\162"); if ($O1bk !== FALSE) { while (feof($O1bk) == FALSE) { $l1bm .= fread($O1bk,023420); } fclose($O1bk); } } } return $l1bm; } function l1bi($O1bm,$l1bn) { $O1bn=""; if (file_exists("\141\144\155\151\156\137\164\145\155\160\154\141\164\145\056\150\164\155\154")) { $O1bh=fopen("\141\144\155\151\156\137\164\145\155\160\154\141\164\145\056\150\164\155\154","\162"); $O1bn=fread($O1bh,filesize("\141\144\155\151\156\137\164\145\155\160\154\141\164\145\056\150\164\155\154")); fclose($O1bh); } if (is_integer(strpos($O1bn,"\043\115\105\123\123\101\107\105\043"))) { $O1bn=str_replace("\043\115\105\123\123\101\107\105\043",(($l1bn != "") ? ($l1bn.""): ""),$O1bn); } if (is_integer(strpos($O1bn,"\043\103\117\116\124\105\116\124\043"))) { $O1bn=str_replace("\043\103\117\116\124\105\116\124\043",$O1bm,$O1bn); } return $O1bn; } function checkup() { $l1ht=phpversion(); echo "\n\074\150\164\155\154\076\074\142\157\144\171\076\n\n\074\150\062\076\114\151\156\153\115\141\143\150\151\156\145\040\104\151\141\147\156\157\163\164\151\143\040\103\150\145\143\153\165\160\074\057\150\062\076\074\142\162\076\n\n\120\154\145\141\163\145\040\144\157\040\164\150\145\040\146\157\154\154\157\167\151\156\147\072\074\142\162\076\n\n\061\051\040\120\162\145\163\163\040\103\164\162\154\053\101\040\164\157\040\163\145\154\145\143\164\040\141\154\154\040\157\146\040\164\150\145\040\143\157\156\164\145\156\164\163\040\157\146\040\164\150\151\163\040\143\150\145\143\153\165\160\040\160\141\147\145\074\142\162\076\n\n\062\051\040\120\162\145\163\163\040\103\164\162\154\053\103\040\164\157\040\143\157\160\171\040\151\164\074\142\162\076\n\n\063\051\040\074\141\040\150\162\145\146\075\042\155\141\151\154\164\157\072\143\157\156\164\141\143\164\100\154\151\156\153\155\141\143\150\151\156\145\056\156\145\164\042\076\117\160\145\156\040\141\040\156\145\167\040\145\055\155\141\151\154\074\057\141\076\040\141\156\144\040\160\141\163\164\145\040\164\150\145\040\143\157\156\164\145\156\164\163\040\157\146\040\164\150\151\163\040\160\141\147\145\040\151\156\164\157\040\151\164\040\142\171\040\160\162\145\163\163\151\156\147\040\103\164\162\154\055\126\074\142\162\076\n\n\064\051\040\123\145\156\144\040\164\150\145\040\145\055\155\141\151\154\040\164\157\040\143\157\156\164\141\143\164\100\154\151\156\153\155\141\143\150\151\156\145\056\156\145\164\074\142\162\076\n\n\074\142\162\076\n\n\124\150\141\156\153\040\171\157\165\041\074\142\162\076\n\n\074\142\162\076\n"; phpinfo(INFO_GENERAL|INFO_CONFIGURATION|INFO_ENVIRONMENT|INFO_VARIABLES); echo "\074\142\162\076\074\142\162\076\114\151\156\153\115\141\143\150\151\156\145\040\104\151\162\145\143\164\157\162\171\040\111\156\146\157\162\155\141\164\151\157\156\074\142\162\076\074\142\162\076\n"; $O1ht=opendir("\056\057"); while ($l1dt=readdir($O1ht)) { if (is_dir($l1dt) && $l1dt != "\056") { echo "\074\142\076$l1dt\040\050\144\151\162\051\074\057\142\076\074\142\162\076\n"; } else if ($l1dt != "\056") { echo "\074\141\040\150\162\145\146\075\042$l1dt\042\076\074\142\076$l1dt\074\057\142\076\074\057\141\076\040\163\151\172\145\072\040".filesize($l1dt)."\040\160\145\162\155\163\072\040".fileperms($l1dt)."\040\155\157\144\151\146\151\145\144\072\040".date("\162",filemtime($l1dt))."\074\142\162\076\n"; } } $O1bh= @ fopen("\154\155\137\164\145\163\164\056\164\170\164","\167"); echo "\074\142\162\076\074\142\162\076\124\145\163\164\040\146\151\154\145\040\167\162\151\164\145\072\040".($O1bh ? "\123\165\143\143\145\163\163": "\106\141\151\154")."\074\142\162\076\074\142\162\076\n"; if ($O1bh) { fclose($O1bh); unlink("\154\155\137\164\145\163\164\056\164\170\164"); } $l1hu=O1bg("\150\164\164\160\072\057\057\154\151\156\153\155\141\143\150\151\156\145\056\156\145\164\057",TRUE,FALSE); $O1hu=O1bg("\150\164\164\160\072\057\057\154\151\156\153\155\141\143\150\151\156\145\056\156\145\164\057",TRUE,TRUE); echo "\074\142\162\076\074\142\162\076\114\151\156\153\115\141\143\150\151\156\145\040\163\151\164\145\040\141\166\141\151\154\141\142\154\145\040\166\151\141\040\146\157\160\145\156\050\051\072\040".(($l1hu == "") ? "\116\157": "\131\145\163")."\074\142\162\076\074\142\162\076\n"; echo "\074\142\162\076\074\142\162\076\114\151\156\153\115\141\143\150\151\156\145\040\163\151\164\145\040\141\166\141\151\154\141\142\154\145\040\166\151\141\040\103\125\122\114\050\051\072\040".(($O1hu == "") ? "\116\157": "\131\145\163")."\074\142\162\076\074\142\162\076\n"; echo "\123\145\162\166\145\162\040\164\151\155\145\072\040".date("\155\057\144\057\171\040\110\072\151\072\163")."\074\142\162\076\074\142\162\076\n"; $O1ba=l1bb(); $l1hv=serialize($O1ba); $l1hv=str_replace("\173","\173\074\142\162\076\n",$l1hv); echo $l1hv; echo "\074\142\162\076\074\142\162\076\074\057\142\157\144\171\076\074\057\150\164\155\154\076\n"; } ?>