Giter Club home page Giter Club logo

chaos-client's Introduction

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
-dns-record-type Filter by dns record type chaos -bbq -d uber.com -dns-record-type cname
-dns-status-code Filter by dns status code chaos -bbq -d uber.com -dns-status-code noerror
-filter-wildcard Filter DNS wildcards chaos -bbq -d uber.com -filter-wildcard
-http-url Print URL of the subdomains chaos -bbq -d uber.com -http-url
-http-title Print title of the URL chaos -bbq -d uber.com -http-title
-http-status-code Print http status code chaos -bbq -d uber.com -http-status-code
-http-status-code-filter Filter http status code chaos -bbq -d uber.com -http-status-code-filter 200
-resp Print DNS record with response chaos -bbq -d uber.com -resp
-resp-only Print the response of DNS record chaos -bbq -d uber.com -dns-record-type cname -resp-only
-silent Make the output silent chaos -d uber.com -silent
-version Print current version of chaos client chaos -version

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

export CHAOS_KEY=CHAOS_API_KEY

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 for yourself by filling Google form. We send out new invites every second Monday of the month. Please send us a DM on our Discord server.

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 1 request at a time per token.
  • Chaos API only supports domain name to query.
  • Chaos recon data can be retrieved using bbq flag.

๐Ÿ‘จโ€๐Ÿ’ป 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.

๐Ÿ“Œ Reference

Thanks again for your contribution and keeping the community vibrant. โค๏ธ

chaos-client's People

Contributors

mzack9999 avatar ehsandeep avatar ice3man543 avatar dependabot[bot] avatar lc avatar adilsoybali avatar isrdjohn avatar ehrishirajsharma avatar joeldeleep avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.