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](https://github.com/sponsors/s0md3v) :\)
### 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
1. Install
2. Visit bing.com
3. Open the extension and copy your cookies using the "export" button
4. Paste it in a file e.g. `cookies.json`
5. Done. Now you can
> Note: Any issues regarding BingGPT itself should be reported [EdgeGPT](https://github.com/acheong08/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
1. Sometimes your cookie will expire if you visit bing.com. In that case, just export it again.
2. Make sure your subdomains list only has subdomains from one domain.
3. 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.
4. It can't replace traditional sub-generators like [gotator](https://github.com/Josue87/gotator), [alterx](https://github.com/projectdiscovery/alterx), [dnsgen](https://github.com/ProjectAnte/dnsgen) etc. However, being powered by AI helps it generate subdomains that may not exist.
Raw data
{
"_id": null,
"home_page": "https://github.com/s0md3v/SubGPT",
"name": "subgpt",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "recon,subdomain,pentesting,gpt,hacking",
"author": "s0md3v",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/3e/e6/d019ee68a3c8cb0575ec049faf43895a8412d8294e899a738610cce404fd/subgpt-0.0.1.tar.gz",
"platform": null,
"description": "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.\n\nLike the tool? Support my work for as little as $1, [here](https://github.com/sponsors/s0md3v) :\\)\n\n### Install & Configuration\n#### Installation\n- with pip (recommended): `pip install subgpt`\n- from github: `git clone https://github.com/s0md3v/SubGPT && cd SubGPT && python setup.py install`\n\n#### Getting Bing Cookie\n1. Install \n2. Visit bing.com\n3. Open the extension and copy your cookies using the \"export\" button\n4. Paste it in a file e.g. `cookies.json`\n5. Done. Now you can\n\n> Note: Any issues regarding BingGPT itself should be reported [EdgeGPT](https://github.com/acheong08/EdgeGPT), not here.\n\n### Using SubGPT\n\n#### Find Subdomains\n```\nsubgpt -i input.txt -o output.txt -c /path/to/cookies.json\n```\n\n#### Generate Subdomains\nIf you just want to generate subdomains and not resolve them, use this option:\n```\nsubgpt -i input.txt -o output.txt -c /path/to/cookies.json --dont-resolve\n```\n\n#### Important\n\n1. Sometimes your cookie will expire if you visit bing.com. In that case, just export it again.\n2. Make sure your subdomains list only has subdomains from one domain.\n3. 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.\n4. It can't replace traditional sub-generators like [gotator](https://github.com/Josue87/gotator), [alterx](https://github.com/projectdiscovery/alterx), [dnsgen](https://github.com/ProjectAnte/dnsgen) etc. However, being powered by AI helps it generate subdomains that may not exist.\n",
"bugtrack_url": null,
"license": "GNU Affero General Public License v3.0",
"summary": "Find subdomains with GPT, for free",
"version": "0.0.1",
"split_keywords": [
"recon",
"subdomain",
"pentesting",
"gpt",
"hacking"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3ee6d019ee68a3c8cb0575ec049faf43895a8412d8294e899a738610cce404fd",
"md5": "40e115659b5115fb3be3fcff533818e3",
"sha256": "c842efc57da62f35119abc4e1f083abea018b8d39b396b4bd83d1291301aef38"
},
"downloads": -1,
"filename": "subgpt-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "40e115659b5115fb3be3fcff533818e3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15917,
"upload_time": "2023-04-18T22:49:04",
"upload_time_iso_8601": "2023-04-18T22:49:04.793630Z",
"url": "https://files.pythonhosted.org/packages/3e/e6/d019ee68a3c8cb0575ec049faf43895a8412d8294e899a738610cce404fd/subgpt-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-18 22:49:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "s0md3v",
"github_project": "SubGPT",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "subgpt"
}