Irongeek's Logwatch Script To Grep For RFI, Webshells, Password Grabs, Web Scanners, Etc.
This is a simple script I put together for those using shared hosting providers. It let's you grep through your logs for things like RFIs, likely webshells, passwords grabs, web scanners, etc. The video below gives more details. This can be a great tool for collecting webshells.
Features this code demonstrates:
Grepping for common attacks.
PHP code for simple password.
PHP code for restricting script use by IP.
Funky use of cookies.
Download Source Code/Web App:
http://www.irongeek.com/downloads/logwatch.zip
Demo Video:
Much Older Demo Video:
If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.
Copyright 2020, IronGeek