This script looks for traces of malicious code including code injections, modified .htaccess that makes images executable, and so on.
Tool will scan all code from your website, find all shell and malware malicious code. Not all things it finds are hacks. Not all hacks are found.
How to use:
– Download file lookforbadguys PHP
– Upload folder public_html or www
– Run : example.com/lookforbadguys.php
Notices:Tested with PHP 5.2 and 5.3. It might work with earlier versions.Purpose: iterate through server files looking for hacker code snippets, backdoor scripts, suspicious .htaccess code, suspicious file names. Suspicious things to search for are stored in easily modifiable lists of regular expressions.
Link download Tool script find malicious code