Update gen_badbots

Added plus char to the regex for escaping user-agent strings.
pull/1180/head
Edward Beckett 2015-09-06 01:05:52 -04:00
parent 835b3ff483
commit 03460d5ed0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ done \
| grep -h -B4 '<td class="smallcell" nowrap>S&nbsp;</td>'\
| sed -e 's/&nbsp;//g' \
| awk '/^--/{getline; gsub(" ",""); print $0}' \
| sed -e 's/\([.\:|()]\)/\\\1/g' \
| sed -e 's/\([.\:|()+]\)/\\\1/g' \
| uniq \
| tr '\n' '|' \
| sed -e 's/|$//g'