Created
July 27, 2019 12:02
-
-
Save rikvanderkemp/090499da85307e8df20a0e1a4501e997 to your computer and use it in GitHub Desktop.
Check incoming IPs on 443 or 80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -tn 2>/dev/null | grep :443 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head | |
netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment