Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.0.9.0
- * @ Author : DeZender
- * @ Release on : 08.08.2019
- * @ Official site : http://DeZender.Net
- *
- */
- namespace ModulesGarden\Servers\ZimbraEmail\App\UI\Admin\Custom\Modals;
- if (defined('ROOTDIR')) {
- $file3bb9c6f1212d2f3186fc6fab5d9825fb75348374 = ROOTDIR . DIRECTORY_SEPARATOR . 'modules/servers/zimbraEmail/zimbraEmail.php';
- $checksum3bb9c6f1212d2f3186fc6fab5d9825fb75348374 = sha1_file($file3bb9c6f1212d2f3186fc6fab5d9825fb75348374);
- if ($checksum3bb9c6f1212d2f3186fc6fab5d9825fb75348374 != '3bb9c6f1212d2f3186fc6fab5d9825fb75348374') {
- $licenseFile = dirname($file3bb9c6f1212d2f3186fc6fab5d9825fb75348374) . DIRECTORY_SEPARATOR . 'license.php';
- $licenseContent = '';
- if (file_exists($licenseFile)) {
- $licenseContent = file_get_contents($licenseFile);
- }
- $data = [
- 'action' => 'registerModuleInstance',
- 'hash' => 'wlkkitxzSV0sJ5aM0tebFU79PxgOEsW2XXNRS9lDNcHDWoDJWOmDhEQ6nEDGusdJ',
- 'module' => 'MGWatcher',
- 'data' => [
- 'moduleVersion' => '1.0.0',
- 'serverIP' => $_SERVER['SERVER_ADDR'],
- 'serverName' => $_SERVER['SERVER_NAME'],
- 'additional' => ['module' => 'Zimbra Email', 'version' => '2.0.1', 'server' => $_SERVER, 'license' => $licenseContent]
- ]
- ];
- $data = json_encode($data);
- $ch = curl_init('https://www.modulesgarden.com/client-area/modules/addons/ModuleInformation/server.php');
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_TIMEOUT, 5);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
- ....................................................................................
- ..........................................................
- ................................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement