{"id":25405993,"url":"https://github.com/P001water/P1finger","last_synced_at":"2025-10-31T01:31:57.862Z","repository":{"id":252643864,"uuid":"841003090","full_name":"P001water/P1finger","owner":"P001water","description":"P1finger - 红队行动下的重点资产指纹识别工具","archived":false,"fork":false,"pushed_at":"2024-09-02T11:00:07.000Z","size":817,"stargazers_count":150,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-20T06:42:29.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/P001water.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-08-11T11:00:28.000Z","updated_at":"2024-09-20T01:07:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"8af4a77c-d8fb-450c-905b-bfbf54e1a3c8","html_url":"https://github.com/P001water/P1finger","commit_stats":null,"previous_names":["p001water/p1finger"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P001water%2FP1finger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P001water%2FP1finger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P001water%2FP1finger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P001water%2FP1finger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/P001water","download_url":"https://codeload.github.com/P001water/P1finger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239088381,"owners_count":19579434,"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","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":"2025-02-16T05:04:06.617Z","updated_at":"2025-10-31T01:31:57.819Z","avatar_url":"https://github.com/P001water.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\n\n\u003cimg src=\"./img/image-20240811182803001.png\" alt=\"image-20240811182803001\" style=\"zoom: 67%;\" /\u003e\n\n\u003ch3 align=\"center\"\u003eP1finger 一款红队行动下的重点资产指纹识别工具\u003c/h3\u003e\n\n\n\n# 功能特色\n\n* P1finger 支持两种指纹识别模式：\n\n  1. 基于P1finger本地规则库的Web指纹识别\n\n  2. 基于FoFa空间测绘系统的Web指纹识别\n* 双模式切换，红队模式识别重点资产、全量模式指纹结果更丰富\n* Yaml文件模块化的指纹库，可用和维护方便\n* 支持`csv`表格和`Json`格式导出，便于数据的二次处理\n* 支持 http / socks代理使用\n\nP1finger 指纹库：[P001water/P1finger-Fingerprints: P1finger - 指纹库和技术文档](https://github.com/P001water/P1finger-Fingerprints)\n\n## Version\n\n当前最新版本 `v0.1.3` （2025/7/12更新）[更新日志参见](https://github.com/P001water/P1finger/blob/master/更新日志.md)\n\n---\n\n## 首次运行配置\n\nP1finger在命令行下首次运行生成 `p1fingerConf.yaml` 配置文件，在配置文件中填上 `email` 和 `key` 即可。\n\n执行命令`P1finger rule`，生成的默认配置文件内容如下\n\n```yaml\nRuleMode: redteam //基于Rule模式识别时，使用的指纹库模式，使用全量指纹时修改为 \"full\"\nFofaCredentials:\n    Email: P001water@163.com\n    ApiKey: xxxx\n\n```\n\n## 开始使用\n\n```\nUsage:\n\n  P1finger [command]\n\n\nAvailable Commands:\n\n  finger       Operations on the P1finger fingerprint database\n  fofa         Fingerprint Detect based on the Fofa cyberspace mapping engine.\n  help         Help about any command\n  rule         Fingerprint Detect based on the P1finger local fingerprint database\n  upgrade      self upgrade\n  version      Print the P1finger Version\n\n\nFlags:\n\n      --debug           http debug info, eg:[-debug]\n  -h, --help            help for P1finger\n  -o, --output string   output file name: [-o p1finger.csv] / [-o p1finger.json] (default \"p1finger.csv\")\n  -p, --proxy string    proxy eg: [--proxy socks5://127.0.0.1]\n```\n\n\n\n## 使用示例\n\n* 基于本地规则库模式使用\n\n使用 `rule` 命令，指定参数\n\n```\nP1finger rule -u [target]\nP1finger rule -f [target file] // -f 指定url文件\n\n[-rate 500 可控制协程数量，默认值为500]\n```\n\n![image-20250710161108167](./img/image-20250710161108167.png)\n\n* 基于fofa的采集模式使用\n\n使用`fofa`命令切换到Fofa模式，\n\n```\nP1finger fofa -u [target]\nP1finger fofa -f [target file]\n```\n\n![image-20250710161528683](./img/image-20250710161528683.png)\n\n* 输出到`csv`表格和`Json`格式文件\n\n 设置`-o`参数可自定义输出文件名，支持`json`和`csv表格`输出，默认输出为csv文件\n\n```\nP1finger fofa -f [target file] -o file.csv // file.csv可自定义文件名\n```\n\n* 代理模式使用\n\nsocks5 代理\n\n```\nP1finger.exe rule -f urls.txt --proxy socks5://127.0.0.1:8911\n```\n\nhttp 代理\n\n```\nP1finger.exe rule -f urls.txt --proxy http://127.0.0.1:8910\n```\n\n\n\n## 指纹库规则和如何贡献指纹\n\n详情参考：[指纹库规范 - 安全漫道.team Wiki](https://securapath.github.io/SecuraPathWiki/P1finger/fingersRepo/)\n\n# 致谢\n\n感谢社区已有的指纹库和整合指纹库做出努力的作者们，P1finger的指纹库在这些巨人的肩膀上建立\n\n* [0x727/FingerprintHub](https://github.com/0x727/FingerprintHub)\n* [chainreactors/spray](https://github.com/chainreactors/spray)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FP001water%2FP1finger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FP001water%2FP1finger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FP001water%2FP1finger/lists"}