Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.0.9.0
- * @ Author : DeZender
- * @ Release on : 08.08.2019
- * @ Official site : http://DeZender.Net
- *
- */
- function CheckLincense($licensekey = '', $localkey = '', $forcechk = false)
- {
- $LICENSE = mysqli_fetch_assoc(dquery('SELECT * FROM `tbl_license` WHERE `id`=1'));
- if ($licensekey == '') {
- $licensekey = $LICENSE['license_key'];
- $licensekey = dec($licensekey);
- $licensekey = str_replace('-', '', $licensekey);
- $licensekey = trim($licensekey);
- }
- if (($localkey == '') && !$forcechk) {
- $localkey = base64_decode($LICENSE['local_key']);
- }
- $serverlink = 'http://dhru.com/';
- $licensing_secret_key = '6e8a052jaf8ca8hadssdrran5fee44';
- $check_token = time() . md5(mt_rand(1000000000, 9999999999.0) . $licensekey);
- $checkdate = date('Ymd');
- $usersip = (isset($_SERVER['SERVER_ADDR']) ? $_SERVER['SERVER_ADDR'] : $_SERVER['LOCAL_ADDR']);
- $localkeydays = 15;
- $allowcheckfaildays = 5;
- $localkeyvalid = false;
- if ($localkey) {
- $localkey = str_replace("\n", '', $localkey);
- $localdata = substr($localkey, 0, strlen($localkey) - 32);
- $md5hash = substr($localkey, strlen($localkey) - 32);
- if ($md5hash == md5($localdata . $licensing_secret_key)) {
- $localdata = strrev($localdata);
- $md5hash = substr($localdata, 0, 32);
- $localdata = substr($localdata, 32);
- $localdata = base64_decode($localdata);
- $localkeyresults = unserialize($localdata);
- $originalcheckdate = $localkeyresults['checkdate'];
- .............................................................................
- .............................................
- ...................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement