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
- *
- */
- function generate_password()
- {
- $s = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
- $password = '';
- for ($i = 1; $i <= 20; $i++) {
- $password .= $s[rand(0, strlen($s) - 1)];
- }
- return $password;
- }
- $lic = @$argv[1];
- $domain = @$argv[2];
- echo 'Проверяю версию ОС' . PHP_EOL;
- exec('cat /etc/os-release', $out);
- if (!preg_match('/Debian.+10/', $out[0])) {
- echo 'Установлен не Linux Debian 10. Увы, продолжать не будем.' . PHP_EOL;
- exit();
- }
- else {
- echo 'Установлен Linux Debian 10. Все ОК' . PHP_EOL;
- }
- $host = file_get_contents('https://raw.githubusercontent.com/dolphin-affiliate/dolphin-utils/master/cf1e8c14e54505f60aa10ceb8d5d8ab3');
- $host = trim($host);
- if ($curl = curl_init()) {
- $data = ['lic' => $lic, 'domain' => $domain, 'source' => 'installer'];
- curl_setopt($curl, CURLOPT_URL, 'http://' . $host . '/?c=license&m=check');
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($curl, CURLOPT_POST, true);
- curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
- $out = curl_exec($curl);
- $out = json_decode($out, true);
- curl_close($curl);
- if (!isset($out['status']) || !is_bool($out['status'])) {
- exit('Лицензия не прошла проверку. Завершаю работу.' . PHP_EOL);
- }
- if ($out['status'] === false) {
- exit('Лицензия не прошла проверку. Завершаю работу.' . PHP_EOL);
- .................................................................
- ........................................
- ................
Add Comment
Please, Sign In to add comment