/ones

可用于多个网络资产测绘引擎 API 的命令行查询工具

Primary LanguageShellApache License 2.0Apache-2.0

ones

可用于多个网络资产测绘引擎 API 的命令行查询工具


开始

1. 下载

wget -O ones https://f8x.io/ones && mv --force ones /usr/local/bin/ones && chmod +x /usr/local/bin/ones

2. 创建配置文件

将下方字段中的 key 改为你自己的,如果不填就保留默认的 xxxx

tee /root/ones.conf <<-'EOF'
{
  "fofa_email": "changme@163.com",
  "fofa_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "zoom_key": "xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxx",
  "shodan_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "quake_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
  "hunter_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "chaos_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
EOF

3. 初始化环境

ones -init

4. 使用

ones -help

效果

注意 : 初始化不会安装 chaos ,请自行安装


License

Apache License 2.0


create by ffffffff0x