mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
v4 - Introduce New Regex for Bad Bots
This commit is contained in:
parent
4030515c72
commit
06e90e0b4d
2 changed files with 1 additions and 3 deletions
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue