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.1.0.0
- * @ Author : DeZender
- * @ Release on : 15.05.2020
- * @ Official site : http://DeZender.Net
- *
- */
- $url = 'http://198.46.89.92/v2/setup/sync.php';
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_AUTOREFERER, true);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_TIMEOUT, 59);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
- $result = curl_exec($ch);
- $found = curl_getinfo($ch, CURLINFO_HTTP_CODE);
- curl_close($ch);
- if ($found != 200) {
- echo 'ERROR Code 0165: We are sorry! There is a maintenance on installation servers or your server is unable to connect to our servers possible /etc/resolv.conf problem change the DNS ips to google DNS in /etc/resolv.conf and please try again after few minutes. If you are still getting this error, please create a new support ticket http://www.sonicpanel.com/support/';
- exit();
- }
- $obj = json_decode($result);
- $return = $obj->result;
- $reason = $obj->error_reason;
- if ($result == '') {
- echo 'ERROR: License Problem! Your Server does not have a WHMSonic license, please buy your license for your serverIP from http://www.whmsonic.com/buysap.php and then run this installation script again. If you are getting this error due to technical issues, please create a new support ticket http://www.sonicpanel.com/support/';
- exit();
- }
- if ($return == 'fail') {
- print(shell_exec('echo \'\';'));
- .................................................................
- ....................................
- ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement