{"id":14637795,"url":"https://github.com/Ernket/ARL-Finger-ADD-Go","last_synced_at":"2025-09-07T06:30:58.547Z","repository":{"id":223417457,"uuid":"760264162","full_name":"Ernket/ARL-Finger-ADD-Go","owner":"Ernket","description":"ARL(灯塔)批量添加指纹，支持新版(\u0026\u0026)和旧版(仅支持|| 或逻辑)","archived":false,"fork":false,"pushed_at":"2024-11-05T01:20:10.000Z","size":837,"stargazers_count":172,"open_issues_count":2,"forks_count":22,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-02T10:37:50.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ernket.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-20T04:56:29.000Z","updated_at":"2025-01-01T03:44:20.000Z","dependencies_parsed_at":"2024-02-20T06:22:42.969Z","dependency_job_id":"78b00f90-4738-40d2-92bf-08314efd056b","html_url":"https://github.com/Ernket/ARL-Finger-ADD-Go","commit_stats":null,"previous_names":["ernket/arl-finger-add-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ernket/ARL-Finger-ADD-Go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ernket%2FARL-Finger-ADD-Go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ernket%2FARL-Finger-ADD-Go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ernket%2FARL-Finger-ADD-Go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ernket%2FARL-Finger-ADD-Go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ernket","download_url":"https://codeload.github.com/Ernket/ARL-Finger-ADD-Go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ernket%2FARL-Finger-ADD-Go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274005341,"owners_count":25205934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-10T02:01:16.233Z","updated_at":"2025-09-07T06:30:58.521Z","avatar_url":"https://github.com/Ernket.png","language":"Go","funding_links":[],"categories":["Go","信息搜集"],"sub_categories":[],"readme":"# 前言\n\u003e 前排提醒: 把适用于arl的指纹文件导出来了，有需要的直接在release中下载default.json然后在arl里上传就好了\n\n在github上看到某个师傅，这种脚本都要单独拿来卖钱属实是没想到，这就好像你开心的从商店的免费游戏专栏中下载了一个有意思的游戏，玩了一关后告诉你后续章节要内购解锁，简直就是拉了坨大的\u003cbr\u003e\n有能力的师傅们也可以自己修修改改，毕竟25也能吃顿好的了，不至于浪费钱\u003cbr\u003e\n（PS：各位师傅在用的时候如果有任何bug或者建议都欢迎反馈）\n![](https://github.com/Ernket/ARL-Finger-ADD-Go/blob/48087cc2de0d65fa72e6a2d81beeeed329140f66/png/1.png)\n\n# 环境\n- go版本: 1.21.6\n- ARL版本: 2.6.2\n\n# 用法\n加了个删除所有指纹的操作，方便重置\u003cbr\u003e\n`finger.json`文件和执行程序在同目录即可，同时新增了`config.yaml`配置文件，方便执行\n添加指纹用到的线程数也放在了配置文件里\n```\nUsage: main [-d|-a|-s]\n选项:\n  -a\t添加finger.json文件中的指纹\n  -d\t删除所有指纹\n  -o    使用旧版本的指纹添加逻辑\n  -s string\n    \t查询的任务名称\n\n```\n\n# 指纹文件优化\n在指纹识别的时候发现一个问题，那就是有的指纹误报率极高，发现的逻辑我自己猜想，是因为原先工具会去对keyword里的去组合对比\u003cbr\u003e\n看到新版的arl中其实是支持\u0026\u0026的，但是为了旧版本的用户使用，决定还是留着old_finger.json，新版则使用finger.json\u003cbr\u003e\n\n\n# 结果\n我在自己搭建的arl中运行，结果是`9264`条\u003cbr\u003e\n![](https://github.com/Ernket/ARL-Finger-ADD-Go/blob/main/png/4.png)\n\n# 更新记录\n\n- 2024.3.5\n\u003cbr\u003e将获取地址和账号密码的方式修改成了读取配置文件的方式\u003cbr\u003e\n- 2024.5.31\n\u003cbr\u003e1.修改了判断成功的逻辑，之前是判断请求的状态码，发现目前版本并不可行，改为判断json里的code\u003cbr\u003e\n2.更改了添加指纹的逻辑，keyword存在多个值的时候并不能用,分割的方式来添加，但是可以重名，所以同个名称会出现不同的规则\u003cbr\u003e\n3.修复了一个[bug](https://github.com/Ernket/ARL-Finger-ADD-Go/issues/2)\u003cbr\u003e\n4.更新了-s参数，用来导出任务\u003cbr\u003e\n5.为了避免每次使用脚本会退出登录（不允许重复登录），增加了api_key的方式来请求，当apikey存在的时候，默认先用key，如果为空则使用账号密码登录\u003cbr\u003e\n- 2024.10.12\n\u003cbr\u003e删除了部分无特征的规则，不然误报率极高\n- 2024.11.1\n\u003cbr\u003e版本大更新，原本想大改arl的指纹识别模块，结果惊喜的发现新版本(我用2.6.2)已经支持了\u0026\u0026等一系列符号\n```\n# 定义操作符\nequals = CaselessLiteral(\"=\")\ncontains = CaselessLiteral(\"==\")\nnot_contains = CaselessLiteral(\"!=\")\nand_op = CaselessLiteral(\"\u0026\u0026\")\nor_op = CaselessLiteral(\"||\")\nnot_op = CaselessLiteral(\"!\")\n```\n\u003cbr\u003e所以直接改指纹添加的逻辑即可，现在会去自动用\u0026\u0026去拼接(考虑到会有匹配到body，但是icon不存在的情况，所以同名规则拼合的写完后还是给我删了)，写一块去匹配，效果如下\n![](https://github.com/Ernket/ARL-Finger-ADD-Go/blob/main/png/3.png)\n\u003cbr\u003e但是方便旧版本的用户也使用，我提供了-o参数，在使用 -a -o的时候，程序会使用旧版本的添加逻辑\n\u003cbr\u003e就是得麻烦手动改名，把old_finger.json改成finger.json，不然误报率很高\n\n# TODO\n增加参数，指定finger.json文件\n\n# 参考项目\nhttps://github.com/Funsiooo/chunsou  (finger.json文件)\u003cbr\u003e\nhttps://github.com/loecho-sec/ARL-Finger-ADD （旧版arl逻辑）\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErnket%2FARL-Finger-ADD-Go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FErnket%2FARL-Finger-ADD-Go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErnket%2FARL-Finger-ADD-Go/lists"}