npm 中文文档 npm 中文文档
指南
npmjs.com (opens new window)
指南
npmjs.com (opens new window)
  • 快速入门

    • npm 是什么?
    • npm 安装和更新
    • npm 防止权限错误
    • npm package.json 文件
    • npm 安装包
    • npm 更新包
    • npm 卸载包
    • npm 创建 Node.js 模块
    • npm 发布和更新包
    • npm 使用语义化版本
    • npm 使用 Dist-tags 标记包
    • npm 包和模块的了解
  • 命令行
  • 配置 npm

Chaos Client

Go client to communicate with Chaos dataset API.


Installation


  1. ``` shell
  2. go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latest
  3. ```

Usage


  1. ``` shell
  2. chaos -h
  3. ```

This will display help for the tool. Here are all the switches it supports.

Flag Description Example
:--- :--- :---
-d Domain to find subdomains for chaos -d uber.com
-count Show statistics for the specified domain chaos -d uber.com -count
-o File to write output to (optional) chaos -d uber.com -o uber.txt
-json Print output as json chaos -d uber.com -json
-key Chaos key for API chaos -key API_KEY
-dL File with list of domains (optional) chaos -dL domains.txt
-silent Make the output silent chaos -d uber.com -silent
-version Print current version of chaos client chaos -version
-verbose Show verbose output chaos -verbose
-update updates to latest version chaos -up
-disable-update-check disables automatic update check chaos -duc

You can also set the API key as an environment variable in your bash profile.

  1. ``` shell
  2. export CHAOS_KEY=CHAOS_API_KEY
  3. ```

How to avail API_KEY


Chaos DNS API is in beta and only available to people who have been invited to use it. You can request an invite at chaos.projectdiscovery.io.

Running chaos


In order to get subdomains for a domain, use the following command.

  1. ``` shell
  2. chaos -d uber.com -silent

  3. restaurants.uber.com
  4. testcdn.uber.com
  5. approvalservice.uber.com
  6. zoom-logs.uber.com
  7. eastwood.uber.com
  8. meh.uber.com
  9. webview.uber.com
  10. kiosk-api.uber.com
  11. utmbeta-staging.uber.com
  12. getmatched-staging.uber.com
  13. logs.uber.com
  14. dca1.cfe.uber.com
  15. cn-staging.uber.com
  16. frontends-primary.uber.com
  17. eng.uber.com
  18. guest.uber.com
  19. kiosk-home-staging.uber.com
  20. ```

💡 Notes


The API is rate-limited to 60 request / min / ip
Chaos API onlysupports domain name to query.

👨‍💻 Community


You are welcomed to join our Discord Community. You can also follow us on Twitter to keep up with everything related to chaos project.

Thanks again for your contribution and keeping the community vibrant. ❤️
Last Updated: 2023-07-05 08:31:43