[Unofficial] Python client for contacting with chaos API
Project description
chaos-python
This is Un-Official Python client to communicate with Chaos API
Installation:-
git clone git@github.com:arkwrn/chaos-python.git
cd chaos-python
Usage:-
This will display help for the tool. Here are all the switches it supports.
Flag | Description |
---|---|
--domain | Domain to find subdomains for |
--count | Show statistics for the specified domain |
--key | Chaos key for API |
Running chaos
In order to get subdomains for a domain, use the following command.
↳ python3 chaos-client.py --key MASKED_API_KEY --domain gojek.com
mail.gojek.com
mailserver.gojek.com
gocorp.gojek.com
l.gojek.com
sms-demo.gojek.com
www.gojek.com
track.gojek.com
thmerchant.gojek.com
netbox-test.gojek.com
gocorp-integration.gojek.com
track-integration.gojek.com
www.newsroom.gojek.com
newsroom.gojek.com
To get the number of subdomains count, you can use the count
flag.
↳ python3 chaos-client.py --key MASKED_API_KEY --domain gojek.com --count
13
Use as python module:
pip3 install Chaos-Python-Client==1.0.0
example:
from chaos_python.client import chaosAPI as chaosapi
domain = "example.com"
key = "XXXXXXXXX"
options = "default"
print(chaosapi(domain, key, options))
Available options: - default : output will be only subdomains - count : output will be only count of subdomain - json : output as JSON format
How to avail API_KEY
As of now Chaos dataset is in beta for testing and API endpoint access available to invited users only, you can request an invite for yourself here
💡 Notes
- The API is rate-limited to 1 request at a time per token.
- Chaos API only supports domain name to query.
- All API is owned by : ProjectDiscovery, Inc.
📌 Reference
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Chaos Python Client-1.0.0.tar.gz
.
File metadata
- Download URL: Chaos Python Client-1.0.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 886f3b05ec8af87d0a97b95603fc14ecc943527a9e5acef7ce5665a630bc7906 |
|
MD5 | 84d2b235877325fe14bfee18e1dc90b5 |
|
BLAKE2b-256 | 657cec6185b378eeedb8dee55d117472d0f21f9c6a08dcead58c6a33becb104f |
File details
Details for the file Chaos_Python_Client-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: Chaos_Python_Client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53683be9128a5139f5b33c2c1c17c9d1cfeabab5314000cc70c202405ad30b86 |
|
MD5 | 5b72e74ddd30295c6137579fb8a4a1cd |
|
BLAKE2b-256 | 4dd8176f92c4d68dff96cb6e537a24cff0223863243d3e0159d8540a771de8c8 |