{"id":13843930,"url":"https://github.com/Kento-Sec/AsamF","last_synced_at":"2025-07-11T20:30:53.240Z","repository":{"id":52013732,"uuid":"520729862","full_name":"Kento-Sec/AsamF","owner":"Kento-Sec","description":"AsamF是集成Fofa、Quake、Hunter、Shodan、Zoomeye、Chinaz、0.zone及爱企查的一站式企业信息资产收集、网络资产测绘工具。","archived":false,"fork":false,"pushed_at":"2023-08-24T15:08:14.000Z","size":95836,"stargazers_count":518,"open_issues_count":22,"forks_count":36,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-11-21T15:39:37.552Z","etag":null,"topics":["0zone","fofa","hunter","quake","shodan","zoomeye"],"latest_commit_sha":null,"homepage":"","language":null,"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/Kento-Sec.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}},"created_at":"2022-08-03T03:52:09.000Z","updated_at":"2024-11-18T09:09:40.000Z","dependencies_parsed_at":"2024-02-08T20:57:00.515Z","dependency_job_id":"7d81189c-238b-4689-a5c5-381eea069d76","html_url":"https://github.com/Kento-Sec/AsamF","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/Kento-Sec/AsamF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento-Sec%2FAsamF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento-Sec%2FAsamF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento-Sec%2FAsamF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento-Sec%2FAsamF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kento-Sec","download_url":"https://codeload.github.com/Kento-Sec/AsamF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento-Sec%2FAsamF/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264892032,"owners_count":23679208,"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":["0zone","fofa","hunter","quake","shodan","zoomeye"],"created_at":"2024-08-04T17:02:30.838Z","updated_at":"2025-07-11T20:30:52.877Z","avatar_url":"https://github.com/Kento-Sec.png","language":null,"funding_links":[],"categories":["扫描器、资产收集、子域名","Others"],"sub_categories":["网络服务_其他"],"readme":"# AsamF\n[![Latest release](https://img.shields.io/github/v/release/Kento-Sec/AsamF)](https://github.com/Kento-Sec/AsamF/releases)![GitHub Release Date](https://img.shields.io/github/release-date/Kento-Sec/AsamF)![GitHub All Releases](https://img.shields.io/github/downloads/Kento-Sec/AsamF/total)[![GitHub issues](https://img.shields.io/github/issues/Kento-Sec/AsamF)](https://github.com/Kento-Sec/AsamF/issues)\n\n如果大家有准备考CISSP的计划，可以在苹果手机的app store中搜索：CISSP中文2023。是一个中文题库APP，共计3400到官方题库，以及包含CISSP中1000多条考点详细解释，以及1000多条考试术语解释。\n\nAsamF是一款集成多个网络资产测绘平台的一站式企业信息资产收集工具。\n\n请勿利用本程序损害任何个人或企业的利益，造成一切影响，开发者将不承担任何责任！\n\n\n [下载链接](https://github.com/Kento-Sec/AsamF/releases)\n \n ***\n \n ## v0.2.3\n \n v0.2.2 fofa无法查询，修复fofa的问题\n \n ## v0.2.2\n\n \n v0.2.2更新，做了比较大的改动。\n\n1. 由于改动比较大，时间有限导致有些接口暂时进行关闭。但保留所有核心功能。\n\n2. zoomeye、quake、hunter的apikey配置方式做了一些改动，配置方式如下：\n \"hunterkey\": [\n    \"\",\n    \"\",\n    \"\",\n    \"\",\n    \"\"\n  ],\n \"quakekey\": [\n    \"\",\n    \"\",\n    \"\",\n    \"\",\n    \"\"\n  ],\n  \"zoomeyekey\": [\n    \"\",\n    \"\",\n    \"\",\n    \"\",\n    \"\"\n  ],\n\n3. 由于改动了 zoomeye、quake、hunter的apikey配置方式，因此移除了zk、hk、qk。查询key余额直接AsamF z info、AsamF h info、AsamF q info\n\n\u003cimg width=\"500\" alt=\"image\" src=\"https://github.com/Kento-Sec/AsamF/assets/53268974/821bdecb-7344-4d66-9781-5b0543898281\"\u003e\n\n\n\u003cimg width=\"500\" alt=\"image\" src=\"https://github.com/Kento-Sec/AsamF/assets/53268974/f88ab83c-8dc1-47d0-9810-fd56c4f98c0d\"\u003e\n\n\n4.  zoomeye、quake、hunter的使用方式将自动取key，不需要手动去设置key。自动判断有余额的key进行搜索。\n\n5. 统一了 zoomeye、quake、hunter页面搜索功能， zoomeye、quake、hunter每一个查询都将默认搜索一页，即20条数据。 zoomeye、quake、hunter均需要设置-p进行获取更多的数据，如需要获取1000条数据即需要配置：-p 50。\n\n6. 注释了zoomeye domain、host接口，暂时没空完善。\n\n7. 注释了union联合查询功能，同样改动太大，没时间改。\n\n8. 注释了chinaz、rapiddns。\n \n## v0.1.13\n\n大大提升了zoomeye、quake的查询速度。\n \n\n## V0.1.12更新内容\n\n修正了爱企查无法查询分支机构的问题。\n\n并优化该功能。移除aqc子命令，改为cn子命令。\n\ncn子命令支持-q 单个企业查询；-f 支持批量公司查询。\n\ncn查询功能完善：查询企业信息--\u003e对外投资--\u003e分支机构--\u003e版权--\u003e微信--\u003eFofa主机搜索--\u003e子域名搜索--\u003e企业信息系统搜索--\u003e企业APK搜索--\u003e邮箱搜索--\u003e人员搜索--\u003e目录搜索--\u003e代码搜索（需要企业会员）\n\n***\n\n## 0x00 简介\n\nAsamF集成了Fofa、Hunter、Quake、Zoomeye、Shodan、爱企查、Chinaz、0.zone、subfinder。AsamF支持Fofa、Hunter、Quake、Zoomeye、Shodan、Chinaz、0.zone配置多个Key，在搜索前加入对应选择key的flag可以自由切换需要使用的key。可以通过info命令来查看该key的账户信息。Union命令将联合Fofa、Hunter、Quake、Zoomeye内置的语法格式进行搜索。所有的命令、子命令都支持短命令使用。\n\n\u003cimg width=\"1728\" alt=\"-h\" src=\"https://user-images.githubusercontent.com/53268974/190156066-4e59dcae-cd8a-414d-a44d-c5ab07d136fe.png\"\u003e\n\n***\n\n## 0x01 配置\n\nAsamF会在~/.config/asamf/目录下生成config.json文件。如果你有多个key，按照json的格式录入即可，建议键值按照阿拉伯数字依次录入,方便以阿拉伯数字来切换key。\n\n自动结果保存在~/asamf/目录下。\n\n***\n\n## 0x02 爱企查\n\n爱企查支持cn、cnf子命令。\n\ncn:**重点功能** 一站式企业信息、资产收集。使用方法: AsamF a cn -q 公司名\n\n**公司名 ---\u003e URL ---\u003e 主机查询 ---\u003e 备案、控股、分支机构 ---\u003e 子域名 ---\u003e 信息系统、泄露邮箱、人员信息、App资产、目录、代码收集。**\n\ncnf: 批量对公司名获取url、ip地址。使用方法: Asamf a cnf -q target.txt\n\n--percentage, -p :根据控股比例进行递归。默认不递归,即为0。使用方法: AsamF a -q 公司名 -p 100\n\n\u003cimg width=\"1000\" alt=\"a-h\" src=\"https://user-images.githubusercontent.com/53268974/190160160-c2ed04d2-1997-4303-8f8f-69cf22d7da71.png\"\u003e\n\n \n\n***\n\n## 0x03 Fofa\n\nfofa支持info、iu、il、host、total以及file子命令。\n\n\ninfo:查询账户信息。 使用方法：AsamF f info -fk 1\n\niu:根据icon url进行搜索。使用方法：AsamF f iu -q xxx\n\nil:根据本地icon文件进行搜索。使用方法：AsamF f il -q xxx\n\nhost:进行主机搜索。使用方法：AsamF f h -q xxx\n\ntotal:进行聚合搜索。使用方法：AsamF f t -q xxx\n\nfile:批量搜索。使用方法：AsamF f f -q xxx\n\n若不使用子命令，直接使用-q选择进行搜索。\n\n\u003cimg width=\"1000\" alt=\"fofa-h\" src=\"https://user-images.githubusercontent.com/53268974/190156396-c35402d4-7d21-421d-b275-f1abca322bff.png\"\u003e\n\n***\n\n## 0x04 Zommeye\n\nZoomeye支持info、web、domain、host子命令。\n\ninfo:查询账户信息。使用方法：AsamF z info -zk 1\n\nweb:web应用搜索。使用方法：AsamF z w -q xxx\n\ndomian:子域名搜索。使用方法：AsamF z d -q xxx\n\nhost:主机搜索。使用方法：AsamF z h -q xxx\n\n若不使用子命令，直接使用-q选择进行搜索。\n\n\u003cimg width=\"1000\" alt=\"zoomeye-h\" src=\"https://user-images.githubusercontent.com/53268974/190158265-fdb4c3d4-6d55-48fb-80b1-d063e69e99f7.png\"\u003e\n\n***\n\n## 0x05 Hunter\n\ninfo: 子命令查询会扣除10个积分。(因为他们不提供这个接口)\n\nAsamf h -q xxx\n\n\u003cimg width=\"1000\" alt=\"h-h\" src=\"https://user-images.githubusercontent.com/53268974/190161655-ea71583c-1977-4bb3-8dc0-ec3994a5f20b.png\"\u003e\n\n***\n\n## 0x06 Quake\n\nQuake支持info、hy子命令。\n\nhy: 查询目标是否为蜜罐。使用方法: AsamF q hy -q ip\n\nQuake查询功能将根据你的账户类型来查询数据量。注册会员:500; 高级会员:5000; 终身会员:10000。\n\n\u003cimg width=\"1000\" alt=\"截屏2022-09-14 21 07 25\" src=\"https://user-images.githubusercontent.com/53268974/190162257-2de325c4-451b-4712-a2c8-8193383ee412.png\"\u003e\n\n***\n\n## 0x07 Shodan\n\nShoan支持: p(port)、hi(host information)、dd(dns domain)、ds(dns resolve)、dr(dns reverse)、qt(query tags)、info、apiinfo命令。\n\n-facets选项支持：domain. asn、domain、city、device、ip、isp、org、os、vuln、tag、version(详情见shodan语法）。\n\n\u003cimg width=\"1000\" alt=\"截屏2022-09-14 21 08 43\" src=\"https://user-images.githubusercontent.com/53268974/190163240-1ca3dc99-fbf6-485b-8297-7a82020e4ef9.png\"\u003e\n\n\n***\n\n## 0x08 Union\n\nUnion是fofa、zoomeye、hunter、quake使用联合查询的命令。内置了domain、app、server、port、host、title、body语法结构。直接输入要查询的内容即可，不需要写查询语法。\n\ndomain: 使用方法: AsamF u d -q baidu.com\n\napp: 使用方法: AsamF u a -q apache\n\nport: 使用方法: AsamF u p -q 8080\n\n\n\u003cimg width=\"1000\" alt=\"截屏2022-09-14 21 15 12\" src=\"https://user-images.githubusercontent.com/53268974/190164060-d4b2f0f2-1631-4cbd-b29d-e133f95434c5.png\"\u003e\n\n***\n\n## 0x09 0.zone\n\n0.zone支持: system、email、app、directory、person、code子命令。\n\nsystem: 查询信息系统。使用方法: AsamF 0 s -q 公司名\n\nemail: 查询信息系统。使用方法: AsamF 0 e -q 公司名\n\napp: 查询信息系统。使用方法: AsamF 0 a -q 公司名\n\ndirectory: 查询信息系统。使用方法: AsamF 0 d -q 公司名\n\nperson: 查询信息系统。使用方法: AsamF 0 p -q 公司名\n\ncode子命令: 查询信息系统。使用方法: AsamF 0 c -q 公司名\n\n如果不使用子命令直接使用-q flag。将会执行全部功能。\n\n使用方法: AsamF 0 -q 公司名\n\n\n\u003cimg width=\"1728\" alt=\"截屏2022-09-14 21 33 20\" src=\"https://user-images.githubusercontent.com/53268974/190168130-f1a36eb2-bf0f-43f9-9dfd-67713514b8a6.png\"\u003e\n\n\n\n***\n\n## 0x10 Chinaz\n\nChinaz支持ip、icp、weight、whois、whoisreverse\n\n使用方法: \n\nAsamF c ip -q ip\n\nAsamF c icp -q xxx\n\nAsamF c wt -q xxx\n\nAsamF c ws -q xxx\n\nAsamF c wr -q xxx\n\n\n\n\n\n***\n\n## 0x11 sd\n\nsd是子域名收集。\n\n使用方法: AsamF sd -q baidu.com\n\n其他功能会调用到sd。\n\n***\n\n## 0x12 myip\n\nmyip查询你的互联网ip: 使用方法: AsamF myip\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKento-Sec%2FAsamF","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKento-Sec%2FAsamF","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKento-Sec%2FAsamF/lists"}