🚀 快速开始
预计耗时
5 分钟即可跑通第一个查询。
1️⃣ 安装
选择任一方式:
bash
brew install cyberspacesec/tap/go-icpbash
go install github.com/cyberspacesec/go-icp/cmd/go-icp@latestbash
# 从 GitHub Releases 下载对应平台二进制
curl -L https://github.com/cyberspacesec/icp-skills/releases/latest/download/go-icp-linux-amd64 \
-o /usr/local/bin/go-icp && chmod +x $_bash
docker run --rm ghcr.io/cyberspacesec/go-icp:latest version详见 📥 安装。
2️⃣ 配置凭证
bash
export ZHUDUN_KEY_1="你的创宇盾API Key"
export OCR_TOKEN="你的点选OCR Token"或使用配置文件 ~/.config/go-icp/config.yaml,见 ⚙️ 配置。
3️⃣ 第一个查询
根据公司名反查域名:
bash
go-icp company "某科技有限公司"根据域名反查公司:
bash
go-icp domain example.com输出示例:
json
[
{
"domain": "example.com",
"subject": "某科技有限公司",
"icp": "京ICP备12345678号",
"audited_at": "2023-05-12",
"confidence": "high"
}
]