Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.73 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for SourceGuardian Encoder)
  6. *
  7. * @ Version : 4.0.9.0
  8. * @ Author : DeZender
  9. * @ Release on : 08.08.2019
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. global $phpjiami_decrypt;
  15. $phpjiami_decrypt["\xc1\xd6\xae\xd6\xc0\xfd\xc3\xc3\xc3\xae\x88\x8e\xbe\x88\xd6\xaf\xc3\xc3\xbe\xaf\x88\xc4\xae\xa5\xc3\xfd\xd6\xa5\x8e\x94\xfd\xc4"] = base64_decode('ZGVmaW5lZA==');
  16. $phpjiami_decrypt["\xc3\xc0\xd6\xc3\x88\xc1\xa5\xc3\xbe\xc3\xc3\x8b\xd6\xbe\xa5\xc3\xd6\xaf\xc1\xc4\x8b\x88\x8b\xae\xc4\xaf\xc1\xae\xd6\xbe\x94\xa5"] = base64_decode('aXNfZGly');
  17. $phpjiami_decrypt["\xc3\xc4\xfd\xd6\xaf\xc3\x8b\x8b\xc3\xd6\x88\xa5\x88\x94\xc1\xbe\xaf\xfd\xae\xc1\xc3\xae\x88\x8e\x8b\xaf\xa5\x88\xc1\xae\xd6\xc1"] = base64_decode('bWtkaXI=');
  18. $phpjiami_decrypt["\xa5\xc4\xc1\x88\xd6\xa5\xd6\x94\xd6\x8e\xfd\xae\xbe\xfd\xc0\x8e\xc3\xa5\xc1\xc4\xbe\xc1\xbe\xc0\xbe\x94\x8b\xaf\xbe\xc4\x94\xbe"] = base64_decode('Y2htb2Q=');
  19. $phpjiami_decrypt["\xc3\xd6\xfd\x88\xd6\xae\xfd\xc3\xd6\xc3\xa5\xc3\xd6\xc1\xaf\x88\xc4\xd6\xc1\x88\xc3\xc4\xfd\xc1\xbe\xc1\x94\xc0\x8b\xfd\x8b\x88"] = base64_decode('ZmlsZV9wdXRfY29udGVudHM=');
  20. $GLOBALS['phpjiami_decrypt']["\xc1\xd6\xae\xd6\xc0\xfd\xc3\xc3\xc3\xae\x88\x8e\xbe\x88\xd6\xaf\xc3\xc3\xbe\xaf\x88\xc4\xae\xa5\xc3\xfd\xd6\xa5\x8e\x94\xfd\xc4"](base64_decode('SU5fSUE=')) || exit(base64_decode('QWNjZXNzIERlbmllZA=='));
  21.  
  22. class Hc_TokerModule extends WeModule
  23. {
  24. public function settingsDisplay($settings)
  25. {
  26. global $_W;
  27. global $_GPC;
  28. load()->classs(base64_decode('Y2xvdWRhcGk='));
  29. $api = new CloudApi(true);
  30. $iframe = $api->url('debug', __FUNCTION__, ['referer' => urlencode($_W['siteurl']), 'version' => $this->module['version'], 'v' => random(3)], 'html');
  31.  
  32. if (is_error($iframe)) {
  33. message($iframe['message'], '', 'error');
  34. }
  35.  
  36. if ($_W['ispost']) {
  37. $certpath = IA_ROOT . '/addons/hc_toker/cert/';
  38.  
  39. if (!$GLOBALS['phpjiami_decrypt']["\xc3\xc0\xd6\xc3\x88\xc1\xa5\xc3\xbe\xc3\xc3\x8b\xd6\xbe\xa5\xc3\xd6\xaf\xc1\xc4\x8b\x88\x8b\xae\xc4\xaf\xc1\xae\xd6\xbe\x94\xa5"]($certpath)) {
  40. $GLOBALS['phpjiami_decrypt']["\xc3\xc4\xfd\xd6\xaf\xc3\x8b\x8b\xc3\xd6\x88\xa5\x88\x94\xc1\xbe\xaf\xfd\xae\xc1\xc3\xae\x88\x8e\x8b\xaf\xa5\x88\xc1\xae\xd6\xc1"]($certpath, 511, true);
  41. $GLOBALS['phpjiami_decrypt']["\xa5\xc4\xc1\x88\xd6\xa5\xd6\x94\xd6\x8e\xfd\xae\xbe\xfd\xc0\x8e\xc3\xa5\xc1\xc4\xbe\xc1\xbe\xc0\xbe\x94\x8b\xaf\xbe\xc4\x94\xbe"]($certpath, 511);
  42. }
  43.  
  44. if (!empty($_GPC['apiclient_cert'])) {
  45. $GLOBALS['phpjiami_decrypt']["\xc3\xd6\xfd\x88\xd6\xae\xfd\xc3\xd6\xc3\xa5\xc3\xd6\xc1\xaf\x88\xc4\xd6\xc1\x88\xc3\xc4\xfd\xc1\xbe\xc1\x94\xc0\x8b\xfd\x8b\x88"]($certpath . 'apiclient_cert_' . $_W['uniacid'] . '.pem', $_GPC['apiclient_cert']);
  46. }
  47.  
  48. if (!empty($_GPC['apiclient_key'])) {
  49. $GLOBALS['phpjiami_decrypt']["\xc3\xd6\xfd\x88\xd6\xae\xfd\xc3\xd6\xc3\xa5\xc3\xd6\xc1\xaf\x88\xc4\xd6\xc1\x88\xc3\xc4\xfd\xc1\xbe\xc1\x94\xc0\x8b\xfd\x8b\x88"]($certpath . 'apiclient_key_' . $_W['uniacid'] . '.pem', $_GPC['apiclient_key']);
  50. }
  51.  
  52. if (!empty($_GPC['sendpass'])) {
  53. $_GPC['basic']['saler_into_switch'] = 1;
  54. $_GPC['basic']['user_into_switch'] = 1;
  55. $_GPC['basic']['iospay_switch'] = 1;
  56. pdo_update(base64_decode('aGN0b2tlcl91cGdyYWRl'), [base64_decode('c3RhdHVz') => 0], [base64_decode('d2VpZA==') => $_W['uniacid']]);
  57. }
  58.  
  59. if (!empty($_GPC['resetpass'])) {
  60. $_GPC['basic']['saler_into_switch'] = 0;
  61. $_GPC['basic']['user_into_switch'] = 0;
  62. $_GPC['basic']['iospay_switch'] = 0;
  63. pdo_update(base64_decode('aGN0b2tlcl91cGdyYWRl'), [base64_decode('c3RhdHVz') => 1], [base64_decode('d2VpZA==') => $_W['uniacid']]);
  64. }
  65.  
  66. if (empty($_GPC['cate'][0]['name'])) {
  67. $_GPC['cate'][0]['name'] = '砍价类';
  68. }
  69.  
  70. if (empty($_GPC['cate'][1]['name'])) {
  71. $_GPC['cate'][1]['name'] = '团购类';
  72. }
  73.  
  74. if (empty($_GPC['cate'][2]['name'])) {
  75. $_GPC['cate'][2]['name'] = '红包拓客类';
  76. }
  77.  
  78. if (empty($_GPC['cate'][3]['name'])) {
  79. $_GPC['cate'][3]['name'] = '邀请送好礼';
  80. }
  81.  
  82. if (empty($_GPC['cate'][4]['name'])) {
  83. $_GPC['cate'][4]['name'] = '限时抢购';
  84. }
  85.  
  86. if (empty($_GPC['cate'][5]['name'])) {
  87. $_GPC['cate'][5]['name'] = '通用分销';
  88. }
  89.  
  90. $settings = ['basic' => $_GPC['basic'], 'tpl' => $_GPC['tpl'], 'media' => $_GPC['media'], 'tencent' => $_GPC['tencent'], 'cash' => $_GPC['cash'], 'cate' => $_GPC['cate'], 'commission' => $_GPC['commission']];
  91. $this->saveSettings($settings);
  92. message(base64_decode('5L+d5a2Y5oiQ5Yqf'), base64_decode('cmVmZXJlcg=='), base64_decode('c3VjY2Vzcw=='));
  93. }
  94. ..........................................................................
  95. .......................................
  96. .................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement