Guest User

Untitled

a guest
Mar 20th, 2021
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function diff_day($start = '', $end = '')
  15. {
  16. $dStart = new DateTime($start);
  17. $dEnd = new DateTime($end);
  18. $dDiff = $dStart->diff($dEnd);
  19. return $dDiff->days;
  20. }
  21.  
  22. function crypt_chip($action, $string, $salt = '')
  23. {
  24. if ($salt != 'M1VwM0NFRGdVSzIxVTgwV2xHYjV4ZW95Q25PRjVUZ2w0dm1JamVsbmMwZzRyL3ZGZUdsNUZ3MGdQbjNkQWR3WA==') {
  25. return false;
  26. }
  27.  
  28. $key = '0|.%J.MF4AMT$(.VU1J' . $salt . 'O1SbFd$|N83JG' . str_replace('www.', '', $_SERVER['SERVER_NAME']) . '.~&/-_f?fge&';
  29. $output = false;
  30. $encrypt_method = 'AES-256-CBC';
  31.  
  32. if ($key === NULL) {
  33. $secret_key = 'NULL';
  34. }
  35. else {
  36. $secret_key = $key;
  37. }
  38.  
  39. $secret_iv = 'dVSzIxVTgwV2xHYj';
  40. $key = hash('sha256', $secret_key);
  41. $iv = substr(hash('sha256', $secret_iv), 0, 16);
  42.  
  43. if ($action === 'encrypt') {
  44. $output = openssl_encrypt($string, $encrypt_method, $key, 0, $iv);
  45. $output = base64_encode($output);
  46. }
  47. else if ($action === 'decrypt') {
  48. $output = openssl_decrypt(base64_decode($string), $encrypt_method, $key, 0, $iv);
  49. }
  50.  
  51. return $output;
  52. }
  53.  
  54. function get_license_file_data($reload = false)
  55. {
  56. global $temp_lfile;
  57. if ($reload || !$temp_lfile) {
  58. ........................................................................
  59. ...............................................
  60. ...................
Add Comment
Please, Sign In to add comment