mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Fix Nginx Test 4
This commit is contained in:
parent
726145b53c
commit
81817fd773
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ if curl -v -A "80legs" http://localhost:9000 2>&1 | grep -i '(52)'; then
|
||||||
echo "${bold}${green}PASSED - ${red}80legs BAD BOT DETECTED"
|
echo "${bold}${green}PASSED - ${red}80legs BAD BOT DETECTED"
|
||||||
else
|
else
|
||||||
echo "${bold}${red}FAILED - ${red}80legs BAD BOT NOT DETECTED"
|
echo "${bold}${red}FAILED - ${red}80legs BAD BOT NOT DETECTED"
|
||||||
|
curl -v -A "80legs" http://localhost:9000
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue