mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 13:55:41 +00:00
Bring Curl Tests Back Online [Test 1 and 2]
This commit is contained in:
parent
4d1d4826d2
commit
10be46edd0
2 changed files with 10 additions and 14 deletions
|
@ -160,6 +160,7 @@ printf '%s%s\n\n' "Last Tested: " "$_now" >> "$_curltest8"
|
|||
curl http://localhost:9000/index.php -e http://bing.com 2>&1 >> $_curltest8
|
||||
if grep -i 'Welcome' $_curltest8; then
|
||||
echo 'GOOD REFERRER DETECTED - TEST PASSED'
|
||||
exit 0
|
||||
else
|
||||
echo 'GOOD REFERRER NOT DETECTED - TEST FAILED'
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue