Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Simple security monitoring script

Shulou Source: shulou.com Published: 2022-06-01 02:20:03 10月04日 Update

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

Tags: Server service login monitoring system security script Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Linux Microsoft Huawei macOS