X7ROOT File Manager
Current Path:
/opt/lscwp_patcher
opt
/
lscwp_patcher
/
📁
..
📄
CHANGELOG.md
(1.54 KB)
📄
README.md
(1.11 KB)
📄
VERSION
(4 B)
📄
lscwp_patcher.sh
(16.05 KB)
Editing: CHANGELOG.md
# Changelog ## v0.2 — 2026-10-26 - Discovery rewritten: no recursive find. cPanel uses docroots from /var/cpanel/userdata (+ ~/public_html fallback) and checks docroot, docroot/x, docroot/x/y via globs; Enhance/--root globs up to 4 levels. Uploads, lscache and backup trees are never walked - Parallel apply: --jobs N (default 4); bash 4.2 compatible (no wait -n) - Summary computed from report.csv; separate updated_wpcli / updated_zip counts; elapsed time logged - Zip staged once before forking; download failure disables zip fallback for the run instead of per-site retries - Default wp-cli timeout 180s -> 120s; timeout now sends KILL 10s after TERM - Paths under backup/, backups/, softaculous_backups/, node_modules/, virtfs, .trash, .sc_* excluded from results - --user on cPanel now scopes to that user's userdata docroots ## v0.1 — 2026-10-24 - Initial release, built in response to CVE-2026-113500 (LiteSpeed Cache < 7.9.2, unauthenticated stored XSS, CVSS 7.5) - Discovers litespeed-cache installs on cPanel (/home*) and Enhance (/var/www); prunes virtfs, .trash, mail, backups, .sc_* dirs - Reads plugin version from the header without executing PHP - Dry-run by default; --apply to update - Methods: wpcli (runs as site owner, --skip-plugins --skip-themes), zip (official wordpress.org zip, atomic rename swap), auto (wpcli then zip fallback) - Removes .maintenance left behind by a timed-out wp-cli run - Skips root/system-owned installs; tar.gz backup of replaced plugin dirs - Per-run logs and CSV report under /var/log/lscwp_patcher/<timestamp>_<pid>/
Upload File
Create Folder