Last active 1731171563

get-suspic-ips.sh Raw
1#!/bin/sh
2
3GREP=/usr/bin/grep
4
5$GREP -Eh 'pma|admin|sql|w00t|CONNECT|wp-admin|wp-login|wordpress|cgi-bin' /var/log/httpd/access_log | mutt -s "Suspicious Webserver URLs (celeste/new)" -- recipient@domain
6
7$GREP -h '404' /var/log/httpd/access_log | grep ".zip" | mutt -s "Suspicious Webserver URLs (celeste/new) zip files" -- recipient@domain