Skip to content

Instantly share code, notes, and snippets.

View uiblogit's full-sized avatar

Uiblog.it uiblogit

View GitHub Profile
@uiblogit
uiblogit / Bad bot rules
Created July 10, 2021 12:58
Bad bot rules for Cloudflare
(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 "[email protected]") 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
@uiblogit
uiblogit / fake msn bot rules
Created July 10, 2021 12:54
Rules for Cloudflare about fake msn bot
(ip.geoip.asnum eq 8075 and http.user_agent ne "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)")