diff --git a/.dev-tools/modify-config-readme-files.sh b/.dev-tools/modify-config-readme-files.sh index 7b96d93de..218430c6a 100755 --- a/.dev-tools/modify-config-readme-files.sh +++ b/.dev-tools/modify-config-readme-files.sh @@ -48,23 +48,23 @@ _tmpnginxA=tmpnginxA # Start and End Strings to Search for to do inserts into template # *************************************************************** -_startmarker="### Version Information #" -_endmarker="### Version Information ##" +_startmarker="_______________" +_endmarker="____________________" # **************************************** # PRINT VERSION INFORMATION INTO README.md # **************************************** -printf '%s\n%s\n%s%s\n%s%s\n%s%s\n%s\n%s' "$_startmarker" "********************************************" "#### Version: " "$MY_GIT_TAG" "#### Bad Referrer Count: " "$BAD_REFERRERS" "#### Bad Bot Count: " "$BAD_BOTS" "********************************************" "$_endmarker" >> "$_tmpnginxA" +printf '%s\n%s%s\n%s%s\n%s%s\n%s' "$_startmarker" "#### Version: " "$MY_GIT_TAG" "#### Bad Referrer Count: " "$BAD_REFERRERS" "#### Bad Bot Count: " "$BAD_BOTS" "$_endmarker" >> "$_tmpnginxA" mv $_tmpnginxA $_inputdbA ed -s $_inputdbA<<\IN -1,/### Version Information #/d -/### Version Information ##/,$d +1,/_______________/d +/____________________/,$d ,d .r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md -/### Version Information #/x +/_______________/x .t. -.,/### Version Information ##/-d +.,/____________________/-d #,p #,p used to print output replaced with w below to write w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md @@ -76,16 +76,16 @@ rm $_inputdbA # PRINT VERSION INFORMATION INTO AUTO-CONFIGURATION.md # **************************************************** -printf '%s\n%s\n%s%s\n%s%s\n%s%s\n%s\n%s' "$_startmarker" "********************************************" "#### Version: " "$MY_GIT_TAG" "#### Bad Referrer Count: " "$BAD_REFERRERS" "#### Bad Bot Count: " "$BAD_BOTS" "********************************************" "$_endmarker" >> "$_tmpnginxA" +printf '%s\n%s%s\n%s%s\n%s%s\n%s' "$_startmarker" "#### Version: " "$MY_GIT_TAG" "#### Bad Referrer Count: " "$BAD_REFERRERS" "#### Bad Bot Count: " "$BAD_BOTS" "$_endmarker" >> "$_tmpnginxA" mv $_tmpnginxA $_inputdbA ed -s $_inputdbA<<\IN -1,/### Version Information #/d -/### Version Information ##/,$d +1,/_______________/d +/____________________/,$d ,d .r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/AUTO-CONFIGURATION.md -/### Version Information #/x +/_______________/x .t. -.,/### Version Information ##/-d +.,/____________________/-d #,p #,p used to print output replaced with w below to write w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/AUTO-CONFIGURATION.md @@ -97,16 +97,16 @@ rm $_inputdbA # PRINT VERSION INFORMATION INTO MANUAL-CONFIGURATION.md # ****************************************************** -printf '%s\n%s\n%s%s\n%s%s\n%s%s\n%s\n%s' "$_startmarker" "********************************************" "#### Version: " "$MY_GIT_TAG" "#### Bad Referrer Count: " "$BAD_REFERRERS" "#### Bad Bot Count: " "$BAD_BOTS" "********************************************" "$_endmarker" >> "$_tmpnginxA" +printf '%s\n%s%s\n%s%s\n%s%s\n%s' "$_startmarker" "#### Version: " "$MY_GIT_TAG" "#### Bad Referrer Count: " "$BAD_REFERRERS" "#### Bad Bot Count: " "$BAD_BOTS" "$_endmarker" >> "$_tmpnginxA" mv $_tmpnginxA $_inputdbA ed -s $_inputdbA<<\IN -1,/### Version Information #/d -/### Version Information ##/,$d +1,/_______________/d +/____________________/,$d ,d .r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/MANUAL-CONFIGURATION.md -/### Version Information #/x +/_______________/x .t. -.,/### Version Information ##/-d +.,/____________________/-d #,p #,p used to print output replaced with w below to write w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/MANUAL-CONFIGURATION.md @@ -114,6 +114,27 @@ q IN rm $_inputdbA +# ******************************************************* +# PRINT VERSION INFORMATION INTO Google Ghost Spam README +# ******************************************************* + +printf '%s\n%s%s\n%s%s\n%s%s\n%s' "$_startmarker" "#### Version: " "$MY_GIT_TAG" "#### Bad Referrer Count: " "$BAD_REFERRERS" "#### Bad Bot Count: " "$BAD_BOTS" "$_endmarker" >> "$_tmpnginxA" +mv $_tmpnginxA $_inputdbA +ed -s $_inputdbA<<\IN +1,/_______________/d +/____________________/,$d +,d +.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/_google_analytics_ghost_spam/README.md +/_______________/x +.t. +.,/____________________/-d +#,p +#,p used to print output replaced with w below to write +w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/_google_analytics_ghost_spam/README.md +q +IN +rm $_inputdbA + exit 0 diff --git a/AUTO-CONFIGURATION.md b/AUTO-CONFIGURATION.md index f4c558079..f66728c66 100755 --- a/AUTO-CONFIGURATION.md +++ b/AUTO-CONFIGURATION.md @@ -6,13 +6,13 @@ ##### Created by: https://github.com/mitchellkrogza ##### Copyright Mitchell Krog -### Version Information # +_______________ ******************************************** #### Version: V3.2017.07.726 #### Bad Referrer Count: 5443 #### Bad Bot Count: 498 ******************************************** -### Version Information ## +____________________ ## Update Notification System diff --git a/MANUAL-CONFIGURATION.md b/MANUAL-CONFIGURATION.md index 21332aeab..dc606db76 100755 --- a/MANUAL-CONFIGURATION.md +++ b/MANUAL-CONFIGURATION.md @@ -6,13 +6,13 @@ ##### Created by: https://github.com/mitchellkrogza ##### Copyright Mitchell Krog -### Version Information # +_______________ ******************************************** #### Version: V3.2017.07.726 #### Bad Referrer Count: 5443 #### Bad Bot Count: 498 ******************************************** -### Version Information ## +____________________ ## Update Notification System diff --git a/README.md b/README.md index 082facf51..83f70d637 100755 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ # Nginx Bad Bot and User-Agent Blocker, Spam Referrer Blocker, Anti DDOS, Bad IP Blocker and Wordpress Theme Detector Blocker ##### The Ultimate Nginx Bad Bot, User-Agent, Spam Referrer Blocker, Adware, Malware and Ransomware Blocker, Clickjacking Blocker, Click Re-Directing Blocker, SEO Companies and Bad IP Blocker with Anti DDOS System, Nginx Rate Limiting and Wordpress Theme Detector Blocking -### Version Information # +_______________ ******************************************** #### Version: V3.2017.07.726 #### Bad Referrer Count: 5443 #### Bad Bot Count: 498 ******************************************** -### Version Information ## +____________________ ## If this helps you [why not buy me a beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BKF9XT6WHATLG):beer: diff --git a/_google_analytics_ghost_spam/README.md b/_google_analytics_ghost_spam/README.md index b5f8d4596..90abdd11b 100644 --- a/_google_analytics_ghost_spam/README.md +++ b/_google_analytics_ghost_spam/README.md @@ -2,6 +2,14 @@ # EASY CONFIGURATION INSTRUCTIONS FOR STOPPING GOOGLE ANALYTICS "GHOST" SPAM +_______________ +******************************************** +#### Version: V3.2017.07.726 +#### Bad Referrer Count: 5443 +#### Bad Bot Count: 498 +******************************************** +____________________ + Simply using the Nginx blocker does not stop Google Analytics ghost referral spam because they are hitting Analytics directly and not always necessarily touching your website. You should use regex filters in Analytics to prevent ghost referral spam.