Guest User

Untitled

a guest
Aug 20th, 2026
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP8 Decoder for SourceGuardian Encoder)
  6. *
  7. * @ Version : 8.3.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 24.02.2026
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. namespace App\Http\Controllers\Admin;
  15.  
  16. use App\Core\Configuration\Settings;
  17. use App\Core\System\InitCore;
  18. use App\Http\Controllers\Controller;
  19. use App\Models\Configuration;
  20. use App\Models\System;
  21. use GuzzleHttp\Client;
  22. use Illuminate\Http\Request;
  23.  
  24. class LicenseController extends Controller
  25. {
  26. public function ______incLicenseCode(Request $request)
  27. {
  28. if ((PHP_OS_FAMILY === 'Linux') && is_readable('/proc/self/maps')) {
  29. $__m = @file_get_contents('/proc/self/maps');
  30.  
  31. if ($__m && ((stripos($__m, 'uopz') !== false) || (stripos($__m, 'runkit') !== false))) {
  32. exit('Unsafe environment detected [E01]');
  33. }
  34.  
  35. unset($__m);
  36. }
  37.  
  38. $__extDir = @ini_get('extension_dir');
  39.  
  40. if ($__extDir) {
  41. foreach ([
  42. 'uopz.so',
  43. 'runkit.so',
  44. 'runkit7.so',
  45. 'uopz.dll',
  46. 'runkit.dll',
  47. 'runkit7.dll'
  48. ] as $__ext) {
  49. if (@file_exists($__extDir . DIRECTORY_SEPARATOR . $__ext)) {
  50. exit('Unsafe environment detected [E02]');
  51. }
  52. }
  53. }
  54.  
  55. unset($__extDir, $__ext);
  56. $__criticalFns = [
  57. 'openssl_verify',
  58. 'openssl_decrypt',
  59. 'openssl_encrypt',
  60. 'hash_hmac',
  61. 'curl_exec',
  62. 'file_get_contents'
  63. ];
  64.  
  65. foreach ($__criticalFns as $__fn) {
  66. try {
  67. $__rf = new ReflectionFunction($__fn);
  68.  
  69. if (!$__rf->isInternal()) {
  70. exit('Unsafe environment detected [E03]');
  71. }
  72. }
  73. catch (Throwable $__e) {
  74. exit('Unsafe environment detected [E04]');
  75. }
  76. }
  77.  
  78. unset($__criticalFns, $__fn, $__rf);
  79.  
  80. foreach ([
  81. 'runkit',
  82. 'runkit7',
  83. 'uopz',
  84. 'ffi',
  85. 'xdebug',
  86. 'phpdbg',
  87. 'apd'
  88. ] as $__ext) {
  89. if (extension_loaded($__ext)) {
  90. exit('Unsafe environment detected [E05]');
  91. }
  92. }
  93.  
  94. unset($__ext);
  95.  
  96. if (ini_get('auto_prepend_file')) {
  97. exit('Unsafe environment detected [E06]');
  98. }
  99.  
  100. if (ini_get('assert.active') && ini_get('assert.callback')) {
  101. exit('Unsafe environment detected [E07]');
  102. .............................................
  103. ........................
  104. .........
Advertisement
Add Comment
Please, Sign In to add comment