alexylem / Check-eval

Php script to recursively search and report php files potentially infected by malicious code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check Eval

lightweight password-protected php script to detect & clean-up php files infected by malicious code such as eval. Script is searching recursively across sub-directories from folder where it is placed. Outputs list of potentially infected files with option to select which one to delete or ignore. Exits with 301 http error code if infected file found for use with cron.

$> curl -fsS "https://myside.com/check_eval.php" && echo "no infected files found" || echo "infected files found"

About

Php script to recursively search and report php files potentially infected by malicious code


Languages

Language:PHP 100.0%