v4 - Introduce New Regex for Bad Bots

This commit is contained in:
Mitchell Krog 2019-06-24 14:47:29 +02:00
parent 4030515c72
commit 06e90e0b4d
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
2 changed files with 1 additions and 3 deletions

View file

@ -238,8 +238,6 @@ printf '%s\n' "$_start4" >> ${_tmpnginx4}
while IFS= read -r LINE
do
printf '\t"~*%s%s"\t\t%s\n' "(?:\b)${LINE}" "(?:\b|)" "$_action4" >> ${_tmpnginx4}
#printf '\t"~*%s%s"\t\t%s\n' "(?:\b)${LINE}" "(?:|\s|,|\.|\b|\/)" "$_action4" >> ${_tmpnginx4}
#printf '\t"~*%s"\t\t%s\n' "${LINE}" "$_action4" >> ${_tmpnginx4}
done < ${_input4}
printf '%s\n' "$_end4" >> ${_tmpnginx4}
mv ${_tmpnginx4} ${_inputdb4}

View file

@ -242,7 +242,7 @@ rm ${_inputdb3}
printf '%s\n' "$_start4" >> ${_tmpnginx4}
while IFS= read -r LINE
do
printf '\t"~*%s%s%s"\t\t%s\n' "\b" "${LINE}" "\b" "$_action4" >> ${_tmpnginx4}
printf '\t"~*%s%s"\t\t%s\n' "(?:\b)${LINE}" "(?:\b|)" "$_action4" >> ${_tmpnginx4}
done < ${_input4}
printf '%s\n' "$_end4" >> ${_tmpnginx4}
mv ${_tmpnginx4} ${_inputdb4}