Skip to content

Instantly share code, notes, and snippets.

@uiblogit
uiblogit / fake msn bot rules
Created Jul 10, 2021
Rules for Cloudflare about fake msn bot
View fake msn bot rules
(ip.geoip.asnum eq 8075 and http.user_agent ne "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)")
@uiblogit
uiblogit / Bad bot rules
Created Jul 10, 2021
Bad bot rules for Cloudflare
View Bad bot rules
(cf.threat_score gt 15) or (http.user_agent contains "Baiduspider") or (http.user_agent contains "colly") or (http.user_agent contains "Java/1.8.0_292") or (http.user_agent contains "facebookexternalhit") or (http.user_agent contains "CFNetwork") or (http.user_agent contains "baidu.com") or (http.user_agent contains "/bin/bash") or (http.user_agent contains "crawler.feedback@gmail.com") or (http.user_agent contains "curl") or (http.user_agent contains "SEMrushBot") or (http.user_agent contains "DnyzBot/") or (http.user_agent contains "DotBot/") or (http.user_agent contains "eval(") or (http.user_agent contains "Go-http-client/") or (http.user_agent contains "Nikto") or (http.user_agent contains "Nimbostratus") or (http.user_agent contains "python-requests") or (http.user_agent contains "Scrapy/") or (http.user_agent contains "SeznamBot/") or (http.user_agent contains "Sogou web spider/") or (http.user_agent contains "spbot/") or (http.user_agent contains "Uptimebot/") or (http.user_agent contains "Test Certif