Nginx Log Security Analysis Script
Features
- Statistics Top 20 Address
- SQL injection analysis
- Scanner alert analysis
- Exploit detection
- Sensitive path access
- File contains attack
- Webshell
- Find URLs with response length Top 20
- Looking for rare script file access
- Find script file for 302 redirect
Set report save address outfile
Set the log analysis directory access_dir
Set log name access_log
./nginx_check.sh