include db for gitea build
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 2m16s

This commit is contained in:
mats committed 2026-09-20 11:01:56 +02:00
1 parent 8de4a2e010
commit 645f923175
33 files changed
+1490 -150

No files matched your search

+4
View File
@@ -55,6 +55,8 @@ var rules = []rule{
{AICrawler, "Google-CloudVertexBot", "google-cloudvertexbot"},
{AICrawler, "CCBot", "ccbot"},
{AICrawler, "Bytespider", "bytespider"},
{AICrawler, "Kimi-SearchBot", "kimi-searchbot"},
{AICrawler, "MoonshotBot", "moonshot"},
{AICrawler, "Amazonbot", "amazonbot"},
{AICrawler, "Applebot-Extended", "applebot-extended"},
{AICrawler, "meta-externalagent", "meta-externalagent"},
@@ -169,6 +171,8 @@ var rules = []rule{
// Scanners and exploit tooling.
{ScanTool, "CameraScanner", "camerascanner"},
{ScanTool, "libredtail-http", "libredtail"},
{ScanTool, "jscrawler", "jscrawler"},
{ScanTool, "zgrab", "zgrab"},
{ScanTool, "masscan", "masscan"},
{ScanTool, "Nmap", "nmap scripting engine"},
+2
View File
@@ -20,6 +20,8 @@ func TestClassify(t *testing.T) {
{"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0 Safari/537.36", Browser, ""},
{"Mozilla/5.0 (compatible; SomeNewFooBot/3.1)", OtherBot, ""},
{"Mozilla/5.0 (Macintosh) Nodeblock", Browser, ""}, // "node" must not match inside a browser UA
{"Mozilla/5.0 (compatible; Kimi-SearchBot/1.0; +https://www.moonshot.cn)", AICrawler, "Kimi-SearchBot"},
{"libredtail-http", ScanTool, "libredtail-http"},
{"weird-thing", Unknown, ""},
}
for _, c := range cases {