SubGPT takes subdomains you have already discovered for a target and uses BingGPT to predict what other subdomains are likely to exists. It's free as it uses Microsoft Bing.
Like the tool? Support my work for as little as $1, here :)
Install & Configuration
Installation
- with pip (recommended):
pip install subgpt - from github:
git clone https://github.com/s0md3v/SubGPT && cd SubGPT && python setup.py install
Getting Bing Cookie
- Install
- Visit bing.com
- Open the extension and copy your cookies using the "export" button
- Paste it in a file e.g.
cookies.json - Done. Now you can
Note: Any issues regarding BingGPT itself should be reported EdgeGPT, not here.
Using SubGPT
Find Subdomains
subgpt -i input.txt -o output.txt -c /path/to/cookies.json
Generate Subdomains
If you just want to generate subdomains and not resolve them, use this option:
subgpt -i input.txt -o output.txt -c /path/to/cookies.json --dont-resolve
Important
- Sometimes your cookie will expire if you visit bing.com. In that case, just export it again.
- Make sure your subdomains list only has subdomains from one domain.
- SubGPT looks at A/CNAME records to determine whether a subdomain exists. It can also detect wildcard on first-level subdomains and handle it automatically. You can go through the code to see how its implemented if it concerns you.
- It can't replace traditional sub-generators like gotator, alterx, dnsgen etc. However, being powered by AI helps it generate subdomains that may not exist.
Metadata
Release files for subgpt 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| subgpt-0.0.1.tar.gz | 15.9 kB | Without provenance | Details for subgpt-0.0.1.tar.gz |
Release files / subgpt-0.0.1.tar.gz
| Download URL | subgpt-0.0.1.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c842efc57da62f35119abc4e1f083abea018b8d39b396b4bd83d1291301aef38
|
|
BLAKE2b-256 checksum How to use checksums |
3ee6d019ee68a3c8cb0575ec049faf43895a8412d8294e899a738610cce404fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for subgpt 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.