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.1
- * @ Author : DeZender
- * @ Release on : 29.08.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;
- }
- echo 'Checking OS version' . PHP_EOL;
- exec('cat /etc/os-release', $out);
- if (!preg_match('/Debian.+10/', $out[0])) {
- echo 'It\'s not Linux Debian 10. Sorry, but I cannot continue :-(' . PHP_EOL;
- exit();
- }
- else {
- echo 'Oh! It\'s Linux Debian 10. Great!' . PHP_EOL;
- }
- $host = file_get_contents('https://raw.githubusercontent.com/dolphin-affiliate/dolphin-utils/master/cf1e8c14e54505f60aa10ceb8d5d8ab3');
- $host = trim($host);
- echo 'Downloading DOLPHIN' . PHP_EOL;
- $local_file = '/var/www/html/dolphin.zip';
- $download_url = file_get_contents('http://' . $host . '/?c=download&m=quick');
- file_put_contents($local_file, file_get_contents($download_url));
- if (@file_exists($local_file)) {
- echo 'Unzipping DOLPHIN' . PHP_EOL;
- shell_exec('unzip -o ' . $local_file . ' -d /var/www/html');
- shell_exec('rm -f ' . $local_file);
- shell_exec('rm -rf /var/www/html/__MACOSX');
- }
- else {
- exit('Could\'nt download DOLPHIN. Please contact support.' . PHP_EOL);
- }
- echo 'Creating DB' . PHP_EOL;
- $password_dolphin = generate_password();
- $password_backup = generate_password();
- ..............................................................................
- ...............................................
- .......................
Add Comment
Please, Sign In to add comment