Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.127
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
cpguard /
app /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
csf_action.php
6.05
KB
-rwxr-xr-x
2024-11-08 06:51
csf_migration.php
21.32
KB
-rwxr-xr-x
2025-09-26 13:25
cwp_suspend_hook.php
3.34
KB
-rw-r--r--
2023-09-25 10:22
cwp_user_list.php
639
B
-rw-r--r--
2023-09-25 10:22
cyberpanel_domain_list.php
3.51
KB
-rw-r--r--
2023-09-25 10:22
cyberpanel_user_list.php
792
B
-rw-r--r--
2023-09-25 10:22
enhance_domain_list.php
3.6
KB
-rw-r--r--
2023-09-25 10:22
enhance_suspend_hook.php
7.63
KB
-rw-r--r--
2023-09-25 10:22
enhance_user_list.php
3.79
KB
-rw-r--r--
2023-09-25 10:22
fw_debug.sh
3.42
KB
-rw-r--r--
2025-10-13 09:29
fw_list.sh
5.02
KB
-rw-r--r--
2025-10-13 09:29
interworx_domain_list.php
583
B
-rw-r--r--
2023-09-25 10:22
interworx_suspend_hook.php
3.63
KB
-rw-r--r--
2023-09-25 10:22
interworx_user_list.php
533
B
-rw-r--r--
2023-09-25 10:22
ioncube.php
42
B
-rw-r--r--
2022-12-02 17:04
reset_iptables.sh
3.6
KB
-rw-r--r--
2025-10-16 14:19
suspend_hook_sample.php
3.28
KB
-rw-r--r--
2023-09-25 10:22
virus_hook_sample.php
3.36
KB
-rw-r--r--
2023-09-25 10:22
webmin_domain_list.php
767
B
-rw-r--r--
2023-09-25 10:22
webmin_suspend_hook.php
3.32
KB
-rw-r--r--
2023-09-25 10:22
webmin_user_list.php
648
B
-rw-r--r--
2023-09-25 10:22
webuzo_domain_list.php
609
B
-rw-r--r--
2023-09-25 10:22
webuzo_suspend_hook.php
3.61
KB
-rw-r--r--
2023-09-25 10:22
webuzo_user_list.php
493
B
-rw-r--r--
2023-09-25 10:22
Save
Rename
#!/opt/cpguard/cpg-php-fpm/bin/php <?php ## DO NOT CUSTOMISE THIS FILE ## This file may be updated during software update ## Please make a copy of the file for customising it sleep(2); $input = json_decode($argv[1], true); /* $input['emails'] - (array) Primary and secondary notification emails $input['user'] - (string) The user to be suspended $input['reason'] - (string) Reason for suspendsion */ if (!isUserSuspended($input['user'])) { //Suspend the user suspendUser($input['user'], $input['reason']); //Send a notification in slack //slack_notification($input); //Send an email send_email_notification($input); } function isUserSuspended($user) { //code to check if user is already suspended return file_exists("/usr/local/cwp/users/suspended/$user"); } function suspendUser($user, $reason) { //code to suspend user shell_exec("/scripts/cwp_api account suspend_user $user"); return true; } /* ------------------------------------------------------------------------- * SLACK WEBHOOKS * REFER https://api.slack.com/messaging/webhooks * ---------------------------------------------------------------------- */ function slack_notification($input) { $server = gethostname(); //Update the webhook url below $webhook_url = "https://hooks.slack.com/services/xxxxxxxxxxxxxxx"; $data = array( "text" => $input['user'] . " account suspended! on $server", "blocks" => array( array( "type" => "section", "text" => array( "type" => "mrkdwn", "text" => "*" . $input['user'] . " account suspended! on $server*\nReason : " . $input['reason'] ) ) ) ); $data_string = json_encode($data); $ch = curl_init($webhook_url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Content-Length: ' . strlen($data_string) ) ); $result = curl_exec($ch); } /* ------------------------------------------------------------------------- * SENDING EMAILS TO END USERS * ---------------------------------------------------------------------- */ function send_email_notification($input) { if (empty($input['emails'])) { echo "User email ids are not available. Email not sent"; return false; } $server = gethostname(); $to_address = implode(',', $input['emails']); $subject = $input['user'] . " account suspended on $server"; $message = " <html> <head> <title>" . $input['user'] . " account suspended on $server</title> </head> <body> <h2>" . $input['user'] . " account suspended on $server</h2> <p>Reason : " . $input['reason'] . "</p> </body> </html> "; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= "From: cpguard@$server" . "\r\n"; //$headers .= 'Cc: myboss@example.com' . "\r\n"; mail($to_address, $subject, $message, $headers); }