Advertisement
theitd

DDOS cmd line

Oct 24th, 2015
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.61 KB | None | 0 0
  1. # This command will show you the list of IP's which have logged in is maximum number of connections to your server.
  2. netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
  3. netstat -n | grep :80 |wc –l
  4. netstat -n | grep :80 | grep SYN |wc -l
  5. # The above commands will show the active connections that are open to your server.
  6. # Result of active connections from the first command will vary but if it shows connections more than 500, then you will be definitely having problems. If the result after you fire second command is 100 or above then you are having problems with sync attack.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement