Skip to content

建议:将侦察API提取为独立的pychina-recon库 #184

@hmkklol

Description

@hmkklol

你好 @0x727

ShuiZe集成了国内最全面的侦察数据源(ICP备案、爱企查、Fofa、Quake、奇安信、百度等)。建议将这些能力提取为独立库。

建议:创建pychina-recon PyPI包

模块结构:

pychina_recon/
  __init__.py
  icp.py          # ICP备案查询
  aiqicha.py      # 爱企查接口
  fofa.py         # Fofa API
  quake.py        # 360 Quake
  qianxin.py      # 奇安信
  baidu.py        # 百度爬虫
  chinaz.py       # 站长工具
  censys.py       # Censys API
  shodan.py       # Shodan API
  models.py       # Pydantic数据模型

数据模型示例:

class ICPRecord(BaseModel):
    domain: str
    company_name: str
    filing_id: str
    filing_time: datetime

好处:

  • Autoscanner等其他工具可以直接复用
  • 版本化管理,API变更时统一适配
  • 社区更容易贡献新的数据源
  • 可以独立测试和文档化

这需要协调多个项目,但长期来看对整个中文安全工具生态都很有价值。

[English Translation / 英文摘要]

Hi maintainers, this issue is a feature / architecture / security suggestion for 10_ShuiZe.
The Chinese text above contains the detailed proposal with technical context and implementation ideas.
In summary: we are requesting the enhancement described above and would be happy to provide PRs or further discussion in either Chinese or English.
Thank you for the excellent work on this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions