mirror, mirror on the wall

mirror, mirror on the wall

create bruteforce list

Posted on .


# cat /etc/pf.conf
 ...
 table <bruteforce> persist
 ...
 pass quick proto { tcp, udp } from any to 78.128.27.117 port ssh \
        flags S/SA keep state \
        (max-src-conn 3, max-src-conn-rate 3/45, \
        overload <bruteforce> flush global)
 ...
# pfctl -t bruteforce -T show > /etc/scripts/bruteforce_list.txt
# cat /www/bruteforce_list.txt /etc/scripts/bruteforce_list.txt | cut -d "<" -f 1 | sort -n | uniq | sed -e s#\$#\<br\ \/># > /etc/scripts/brute.tmp
# mv /etc/scripts/brute.tmp /www/bruteforce_list.txt

About

github

Creative Commons

RSS