/go/scan looks for two different things across every hosted account's recently changed PHP files, and emails and WhatsApps the administrator (not the hosting customer) when it finds something new: The call is appended to /var/log/go/scan.log. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Run it once, by hand
/go/scan
It’s meant to run on a schedule (daily, from cron), since it only looks at the last 24 hours of changes each time.
Options
None.
Examples
# Run it manually
/go/scan
# Schedule it daily
/go/cron
# Clear the "already alerted" record for the shell scanner, to force re-alerting
sudo rm -rf /usr/local/goadmio/db/shell/*
Output
/home/example.com/www/wp-content/uploads/x.php:eval(gzinflate(base64_decode($s)));
There are no new PHP shell files.
- The shell-scanner section prints every newly seen matching line (file path and matching line of code, with
(characters stripped — see Known issues), orThere are no new PHP shell files.if nothing new was found. - The root-password section, if it triggers, prints matching lines with any detected occurrence of the password replaced by asterisks.
See the full reference at /go/scan and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
