{"id":13842167,"url":"https://github.com/qiygan/fofa-dump","last_synced_at":"2025-07-11T14:31:27.725Z","repository":{"id":219520998,"uuid":"224365812","full_name":"qiygan/fofa-dump","owner":"qiygan","description":"Fofa Pro Api下载工具","archived":false,"fork":false,"pushed_at":"2019-11-18T04:19:01.000Z","size":14705,"stargazers_count":17,"open_issues_count":0,"forks_count":8,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-21T12:45:07.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qiygan.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":"2019-11-27T07:00:30.000Z","updated_at":"2023-10-24T17:45:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f82dd80-1822-4aff-983d-089a2bbf4646","html_url":"https://github.com/qiygan/fofa-dump","commit_stats":null,"previous_names":["qiygan/fofa-dump"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qiygan/fofa-dump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiygan%2Ffofa-dump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiygan%2Ffofa-dump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiygan%2Ffofa-dump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiygan%2Ffofa-dump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiygan","download_url":"https://codeload.github.com/qiygan/fofa-dump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiygan%2Ffofa-dump/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264833274,"owners_count":23670617,"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":"2024-08-04T17:01:28.587Z","updated_at":"2025-07-11T14:31:25.049Z","avatar_url":"https://github.com/qiygan.png","language":null,"funding_links":[],"categories":["Others","Others (1002)","Python"],"sub_categories":[],"readme":"# fofa-dump\nFofa Pro Api 下载工具，通过 api 进行下载数据，将数据保存为 csv 文件。\n\n可自定义配置导出字段名称、每页数量以及批量下载数据。\n\n## 用法\n\n- 环境要求：Python 3\n\n- **使用之前需要配置用户名和密码覆盖 `fofa_name` 和 `fofa_key` 替换为用户自用信息**\n- 使用 `pip install -r requirements.txt` 安装依赖\n\n```python\n~ python fofa_dump.py\nusage: fofa_dump.py [-h] [-q FOFA_SQL] [-r FILE_PATH] [-s SIZE] [-f FIELDS]\n                    [-l FULL]\n\nFOFA 数据下载工具\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -q FOFA_SQL, --fofa_sql FOFA_SQL\n                        FOFA 查询语句\n  -r FILE_PATH, --file_path FILE_PATH\n                        批量查询 FOFA 语句,txt文本\n  -s SIZE, --size SIZE  每页数量，默认为 10000\n  -f FIELDS, --fields FIELDS\n                        字段，默认为ip,host,port,protocol,country,region,city,title,\n                        domain,latitude,longitude\n  -l FULL, --full FULL  是否为获取历史数据，默认为False\n```\n\n## 案例\n\n使用 fofa-dump 进行下载 Solr 数据：\n\n```python\npython fofa_dump.py -q 'app=\"Solr\"'\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiygan%2Ffofa-dump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiygan%2Ffofa-dump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiygan%2Ffofa-dump/lists"}