Posted By

surfeurX on 03/31/11


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


list ips connected to your server (ddos)

 / Published in: Bash

  1. netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n

Report this snippet  


RSS Icon Subscribe to comments
Posted By: surfeurX on March 31, 2011

netstat -alpn | grep :80 | awk '{print $5}' |awk -F: '{print $(NF-1)}' |sort | uniq -c | sort -n

You need to login to post a comment.