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 send_request_verify($ip)
- {
- $response = exec_output('curl -s https://api.licensehosts.com/cpanel/verify/' . $ip . '?user=es');
- return trim($response);
- }
- function verify_ip($ip)
- {
- $gt = exec_output('curl -s https://verify.cpanel.net/app/verify?ip=' . $ip);
- if (strpos($gt, 'Results: Not licensed') !== false) {
- send_request_verify($ip);
- }
- }
- function uninstall()
- {
- firewall_traffic_accept();
- system('rm -rf "/usr/bin/installssl" &> /dev/null');
- system('rm -rf "/usr/bin/*licensecp" &> /dev/null');
- system('rm -rf "/usr/bin/*licensecp_update" &> /dev/null');
- system('rm -rf "/etc/cron.d/licensecp" &> /dev/null');
- system('rm -rf "/etc/cron.d/installsslwhm" &> /dev/null');
- system('rm -rf "/usr/share/installssl.pl" &> /dev/null');
- return true;
- }
- function kill_licensecp()
- {
- $current_process = getmypid();
- $killprocess = exec_output(' ps aux | grep .*licensecp_run | grep -v grep | awk \'{print $2 }\'');
- $killprocess = explode("\r\n", $killprocess);
- foreach ($killprocess as $proc) {
- if ($proc != $current_process) {
- system('kill -9 ' . $proc . ' &> /dev/null');
- }
- }
- }
- function enable($key_cmd)
- {
- $cronjob = 'PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin' . "\r\n\r\n" . '*/2 * * * * root /usr/bin/' . $key_cmd . 'licensecp >/dev/null 2>&1' . "\r\n";
- system('printf \'' . $cronjob . '\' > /etc/cron.d/licensecp');
- system('sed -i -e "s/\\r//g" /etc/cron.d/licensecp');
- return true;
- }
- function disable()
- {
- firewall_traffic_accept();
- system('rm -rf /etc/cron.d/licensecp &> /dev/null');
- return true;
- }
- function real_execute($cmd)
- {
- $a = popen($cmd, 'r');
- while ($b = fgets($a, 2048)) {
- echo $b;
- ob_flush();
- ......................................................................
- ......................................
- ..............
Add Comment
Please, Sign In to add comment