projectdiscovery / chaos-client

Go client to communicate with Chaos DB API.

Home Page:https://chaos.projectdiscovery.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chaos Client

Go client to communicate with Chaos dataset API.

Installation

go install -v github.com/projectdiscovery/chaos-client/cmd/chaos@latest

Usage

chaos -h

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.

export CHAOS_KEY=CHAOS_API_KEY

How to avail API_KEY

You can get your API key by either signing up or logging in at cloud.projectdiscovery.io.

Running chaos

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

chaos -d uber.com -silent

restaurants.uber.com
testcdn.uber.com
approvalservice.uber.com
zoom-logs.uber.com
eastwood.uber.com
meh.uber.com
webview.uber.com
kiosk-api.uber.com
utmbeta-staging.uber.com
getmatched-staging.uber.com
logs.uber.com
dca1.cfe.uber.com
cn-staging.uber.com
frontends-primary.uber.com
eng.uber.com
guest.uber.com
kiosk-home-staging.uber.com

πŸ’‘ Notes

  • The API is rate-limited to 60 request / min / ip
  • Chaos API only supports 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. ❀️

About

Go client to communicate with Chaos DB API.

https://chaos.projectdiscovery.io

License:MIT License


Languages

Language:Go 98.3%Language:Dockerfile 1.7%