One Hat Cyber Team
Your IP :
216.73.216.24
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
View File Name :
ip2country.inc.php~
<? require_once("auth/auth.php"); /* 32Tech IP To Country Database for MySQL/PHP Copyright 2002-2004 www.32tech.com */ function GetCountryInfo($ip) {global $_db,$_db_user,$_db_password; /*$db='your database name here'; $user='your mysql username here'; $psw='your mysql password here'; */ $ip = sprintf("%u", ip2long($ip)); $ci=array('name' => 'Unknown', 'a2' => '--', 'a3' =>'---' , 'number' => '000'); $connect = mysql_connect($_db_host,$_db_user,$_db_password); $select = mysql_select_db($_db, $connect); $sql="SELECT country,a2,a3,number FROM ip2country WHERE ipfrom <= $ip and ipto >=$ip LIMIT 0, 1"; $query =mysql_query ($sql,$connect); if($row = mysql_fetch_row($query)) { $ci['name']=$row[0]; $ci['a2']=$row[1]; $ci['a3']=$row[2]; $ci['number']=$row[3]; } return $ci; } ?>