mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-15 01:29:49 +00:00
[V4] Fix beta tests
This commit is contained in:
parent
d1cdfd6573
commit
29f2e78afa
2 changed files with 20 additions and 0 deletions
|
@ -62,6 +62,7 @@ if curl -v -A "80legs" http://localhost:9000 2>&1 | grep -i '(52)'; then
|
|||
echo "${bold}${green}PASSED - ${red}80legs BAD BOT DETECTED"
|
||||
else
|
||||
echo "${bold}${red}FAILED - ${red}80legs BAD BOT NOT DETECTED"
|
||||
curl -v -A "80legs" http://localhost:9000 2>&1
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue