Skip to content

Instantly share code, notes, and snippets.

@rushipkar90
Created September 25, 2015 16:41
Show Gist options
  • Save rushipkar90/04f385a7170f227dd0f3 to your computer and use it in GitHub Desktop.
Save rushipkar90/04f385a7170f227dd0f3 to your computer and use it in GitHub Desktop.
wp-bruteforce-block.sh
#!/bin/bash
for i in `tail -1000 /usr/local/apache/logs/error_log|grep "350111"| awk '{print $32}'|sort -n |uniq`;do /usr/sbin/csf -d $i wp-bruteforce;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment