Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP8 Decoder for SourceGuardian Encoder)
- *
- * @ Version : 8.3.0.1
- * @ Author : DeZender
- * @ Release on : 24.02.2026
- * @ Official site : http://DeZender.Net
- *
- */
- namespace App\Http\Controllers\Admin;
- use App\Core\Configuration\Settings;
- use App\Core\System\InitCore;
- use App\Http\Controllers\Controller;
- use App\Models\Configuration;
- use App\Models\System;
- use GuzzleHttp\Client;
- use Illuminate\Http\Request;
- class LicenseController extends Controller
- {
- public function ______incLicenseCode(Request $request)
- {
- if ((PHP_OS_FAMILY === 'Linux') && is_readable('/proc/self/maps')) {
- $__m = @file_get_contents('/proc/self/maps');
- if ($__m && ((stripos($__m, 'uopz') !== false) || (stripos($__m, 'runkit') !== false))) {
- exit('Unsafe environment detected [E01]');
- }
- unset($__m);
- }
- $__extDir = @ini_get('extension_dir');
- if ($__extDir) {
- foreach ([
- 'uopz.so',
- 'runkit.so',
- 'runkit7.so',
- 'uopz.dll',
- 'runkit.dll',
- 'runkit7.dll'
- ] as $__ext) {
- if (@file_exists($__extDir . DIRECTORY_SEPARATOR . $__ext)) {
- exit('Unsafe environment detected [E02]');
- }
- }
- }
- unset($__extDir, $__ext);
- $__criticalFns = [
- 'openssl_verify',
- 'openssl_decrypt',
- 'openssl_encrypt',
- 'hash_hmac',
- 'curl_exec',
- 'file_get_contents'
- ];
- foreach ($__criticalFns as $__fn) {
- try {
- $__rf = new ReflectionFunction($__fn);
- if (!$__rf->isInternal()) {
- exit('Unsafe environment detected [E03]');
- }
- }
- catch (Throwable $__e) {
- exit('Unsafe environment detected [E04]');
- }
- }
- unset($__criticalFns, $__fn, $__rf);
- foreach ([
- 'runkit',
- 'runkit7',
- 'uopz',
- 'ffi',
- 'xdebug',
- 'phpdbg',
- 'apd'
- ] as $__ext) {
- if (extension_loaded($__ext)) {
- exit('Unsafe environment detected [E05]');
- }
- }
- unset($__ext);
- if (ini_get('auto_prepend_file')) {
- exit('Unsafe environment detected [E06]');
- }
- if (ini_get('assert.active') && ini_get('assert.callback')) {
- exit('Unsafe environment detected [E07]');
- .............................................
- ........................
- .........
Advertisement
Add Comment
Please, Sign In to add comment