#!/bin/bash grep "register.php" /var/log/nginx/access_log | awk '{print $1}'| sort | uniq -c | sort -rn | grep -E '[0-9]{3,} .*' | awk '{print $2}' >/exchange/many_reg
#!/bin/bash for i in `cat /exchange/many_reg` do /usr/sbin/ipset -A badip $i done