fix
This commit is contained in:
parent
e47b93a406
commit
e5183b35af
6
bots.txt
6
bots.txt
@ -104,3 +104,9 @@
|
||||
207.231.104.242
|
||||
47.128.23.132
|
||||
47.128.41.24
|
||||
47.128.43.13
|
||||
47.128.56.78
|
||||
66.249.68.33
|
||||
47.128.56.50
|
||||
47.128.56.72
|
||||
47.128.52.123
|
||||
|
@ -438,7 +438,7 @@ module-get-spam(){
|
||||
}
|
||||
|
||||
module-wordpress(){
|
||||
WP_SPAM=$( grep $2 $NGINX_ACCESS | grep -E "cgi-bin|wp-content|wp-admin|wp-includes" | wc -l)
|
||||
WP_SPAM=$( grep $2 $NGINX_ACCESS | grep -E "xmrlpc|cgi-bin|wp-content|wp-admin|wp-includes" | wc -l)
|
||||
if [[ "$WP_SPAM" -gt 2 ]];
|
||||
then
|
||||
$NFT add rule ip filter position 1 input ip saddr "$1" $NFT_DROP
|
||||
|
Loading…
x
Reference in New Issue
Block a user