Add unique-ip-print.sh

This commit is contained in:
blue 2023-12-17 00:28:03 +00:00
parent 9ff17167f6
commit d99e47697c

2
unique-ip-print.sh Normal file
View File

@ -0,0 +1,2 @@
#! /bin/bash
grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' /var/log/caddy/ip.log | sort -u