Guest User

Untitled

a guest
Sep 11th, 2022
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. <?php
  2. /*
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.5.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 22.06.2018
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if (!function_exists('curl_init') || !function_exists('curl_exec') || !function_exists('curl_setopt')) {
  15. exit('PHP Curl Library not found');
  16. }
  17.  
  18. static $temp_lfile = null;
  19. $license_data = get_license_file_data();
  20. $run_check = license_run_check($license_data);
  21.  
  22. if ($run_check) {
  23. $domain = str_replace('www.', '', $_SERVER['SERVER_NAME']);
  24. $directory = __DIR__;
  25.  
  26. if (isset($_SERVER['HTTP_CLIENT_IP'])) {
  27. $ip = $_SERVER['HTTP_CLIENT_IP'];
  28. } else {
  29. if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
  30. $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
  31. } else {
  32. $ip = $_SERVER['REMOTE_ADDR'];
  33. }
  34. }
  35.  
  36. $server_ip = $_SERVER['SERVER_ADDR'];
  37. $entered = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
  38. $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '');
  39. $address = 'https://thewp.com.tr/license/checking/ec1273e277a43e09a023e732f9571dc8/119?';
  40. $address .= 'domain='.$domain;
  41. $address .= '&server_ip='.$server_ip;
  42. $address .= '&user_ip='.$ip;
  43. $address .= '&entered_url='.$entered;
  44. $address .= '&referer_url='.$referer;
  45. $address .= '&directory='.$directory;
  46. $resultErr = false;
  47. $result = use_license_curl($address, $resultErr);
  48.  
  49. if ('OK' == $result) {
  50. $checkFileData = crypt_chip('encrypt', json_encode(['last-check-time' => date('Y-m-d H:i:s'), 'next-check-time' => date('Y-m-d H:i:s', strtotime('+1 day'))]), 'aVk4ZFR3bmhKMEhxUm5oanR0b2IwOUc4NituYlAwellXNGp2ekpwem5KcTJZVjdyN0pKMVdFcWFaZDNydjJCbw==');
  51. file_put_contents(__DIR__.DIRECTORY_SEPARATOR.'LICENSE', $checkFileData);
  52. } else {
  53. $err = use_license_curl('https://thewp.com.tr/license/error?user_ip='.$ip, $resultErr);
  54.  
  55. if ('' == $err) {
  56. $err = 'LICENSE CURL CONNECTION ERROR';
  57. }
  58.  
  59. exit($err);
  60. }
  61. }
  62.  
  63. include 'admin/tema-yonetim.php';
  64. $tema_ayarlar = get_option('yonetim_paneli');
  65. $temayolu = get_bloginfo('template_url');
  66. $siteyolu = get_bloginfo('url');
  67.  
  68. include_once 'functions-ek.php';
  69. add_filter('pre_get_posts', 'SearchFilter');
  70.  
  71. if (function_exists('wp_nav_menu') && function_exists('add_theme_support')) {
  72. add_theme_support('nav-menus');
  73. ...............................................................................
  74. .............................................
  75. ...........................
Advertisement
Add Comment
Please, Sign In to add comment