Simple security monitoring script
After the monitoring server is * *, it can log in to the IP of the system normally, excluding the IP specified by us to log in to the server.
#! / bin/bash
Strings/var/log/wtmp | grep-Ev'192.168 | 218.18' | grep-iv [a murazine:] | sort | uniq-c | awk-F\'$1