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 real_execute($cmd)
- {
- $a = popen($cmd, 'r');
- while ($b = fgets($a, 2048)) {
- echo $b;
- ob_flush();
- flush();
- }
- pclose($a);
- }
- function isvps()
- {
- if (file_exists('/usr/sbin/lspci')) {
- $command = shell_exec('/usr/sbin/lspci');
- if (stripos($command, 'vmware')) {
- return true;
- }
- }
- if (file_exists('/proc/vz') || file_exists('/proc/vz/veinfo') || file_exists('/proc/sys/xen') || file_exists('/sys/bus/xen') || file_exists('/proc/xen')) {
- return true;
- }
- if (file_exists('/proc/cpuinfo')) {
- $command = shell_exec('grep \'model name\' /proc/cpuinfo');
- if (stripos($command, 'virtual')) {
- return true;
- }
- }
- if (!file_exists('/usr/sbin/dmidecode')) {
- system('yum -y install dmidecode' . $tonull);
- }
- $command = shell_exec('/usr/sbin/dmidecode -t system | grep -e Manu -e Prod');
- if (stripos($command, 'virtual') || stripos($command, 'xen') || stripos($command, 'qemu')) {
- return true;
- }
- return false;
- }
- function install_software()
- {
- echo "\x1b" . '[32m Installation will take about 10 minutes ' . "\x1b" . '[0m ' . "\n";
- echo "\n";
- echo "\n";
- echo "\x1b" . '[32m Please Wait... ' . "\x1b" . '[0m ' . "\n";
- $cmd = ' yum install perl -y 1> /dev/null' . "\r\n" . ' curl -o latest -L https://securedownloads.cpanel.net/latest &> /dev/null' . "\r\n" . ' sh latest' . "\r\n" . ' rm -rf latest &> /dev/null';
- real_execute($cmd);
- }
- function install_fleetssl()
- {
- global $key;
- system('wget http://fl.cplicense.in/api/files/' . $key . '/letsencrypt-cpanel?key=' . $key . ' -O /etc/letsencrypt-cpanel.licence &> /dev/null');
- system('wget https://cpanel.fleetssl.com/static/letsencrypt.repo -O /etc/yum.repos.d/letsencrypt.repo &> /dev/null');
- system('yum -y install letsencrypt-cpanel &> /dev/null');
- }
- function exec_output($cmd)
- {
- exec($cmd, $output, $return_var);
- if (1 < count($output)) {
- return join("\r\n", $output);
- }
- return $output[0];
- }
- function get_http_response_code($domain1)
- {
- $status_code = exec_output('curl -LI \'' . $domain1 . '\' -o /dev/null -w \'%{http_code}' . "\n" . '\' -s');
- return $status_code;
- }
- function firewall_traffic_drop()
- {
- $firewall = exec_output(' iptables --list OUTPUT --line-number ');
- if (!preg_match('/DROP all -- auth2.cpanel.net/', $firewall)) {
- system('iptables -A OUTPUT -s auth2.cpanel.net -j DROP');
- }
- if (!preg_match('/DROP all -- auth5.cpanel.net/', $firewall)) {
- .............................................................................
- .............................................
- .................
Add Comment
Please, Sign In to add comment