Skip to main content

alt text

GitHub - https://github.com/ncorbuk/SubZone

pypi - https://pypi.org/project/subzone/

SubZone

HTTP(S)-Subdomains,Dns records, & More!

  • All registered subdomains!
  • All active subdomains!
  • All Dns records!
  • Is non-intrusive - leave NO fingerprints, totally fast and totally anonymous.

SubZone - Gathers all registard subdomains for target domain, and then checks too see which ones are active subdomains, also will go through dns servers and do zonetransfer to see if any server have been miss configured and are leaking valuable information.

  • Owner/sys-admin email.
  • Owner contact info.
  • Server contact info.
  • Ip addresses.
  • Port numbers
  • Telephone numbers.
  • Location of server.
  • Other servers
  • Software.
  • & more!. (Check out dns record pics for zonetransfer.me at bottom of page for example)

This helps penetration testers and bug hunters collect and gather subdomains and information for the domain they are targeting.

Getting Started

Either Fork the latest repository or use pip to get latest version of subzone. For easy install of python package and all dependencies use - pip install subzone

Key points

Can also be used as an import to your own script/program from subdomain import subzone then use subzone.get(url) eg. subzone.get('https://facebook.com') Will print out a list of registard domains and active domains - in color -

Example Usage:

-d (domain) is True(needed)  -o (output) is True (needed) - 
- python subzone_v2.0.py -d (domain) -o (output)
- python subzone_v2.0.py -d https://facebook.com -o facebook.txt
- python subzone_v2.0.py -d https://zonetransfer.me -o zonetransfer.txt
  • 100%: You will get everything that can be possibly got from the domain/host all whilst leaving NO fingerprints.

Prerequisites

Python - This is built on Python 3.6, you will need at least Python 3.5+ (might work with 3+ i haven't tested it - should not be hard to make work tho if doesn't!) to use this software. - https://www.python.org/

Libraries - You will need/use these libraries to use this software: pip install subzone - will take care of this automatically.

From the standard libraries.

  • Time : n/a
  • Socket : n/a
  • Subprocess : n/a
  • os : n/a
  • Argparse : n/a
  • Json : n/a

Not from the standard libraries.

  • Colorama : >=0.3.9
  • Requests : >=2.18.4
  • Urlib3 : >=1.22

Deployment

subzone is mainly to be used in console using the commands stated above, OR you can use from subdomain import subzone in your own script/program and use the following command subzone.get('https://website.com') to invoke the subdomain function in your own python code.

Usage examples with pictures

Facebook (https://facebook.com)

python subzone_v2.0.py -d https://facebook.com -o facebook.txt

alt text

alt text

alt text

alt text

Zonetransfer (https://zonetransfer.me)

python subzone_v2.0.py -d https://zonetransfer.me -o zonetransfer.txt

alt text

alt text

alt text

alt text

Output documents (-o filename.txt)

alt text

Built With

Contributing

Please read [CONTRIBUTING.md] for details on our code of conduct, and the process for submitting pull requests.

Version

Current version: 0.2.8

Current filename: subzone.py

Authors

Acknowledgments

  • I took inspiration from UnaPibaGeek and her ctfr code.(check her out, great stuff)
  • I took inspiration from DigiNinja - DigiNinja for setting up zonetransfer.me which is purposely vulnerable and not setup correctly to show how a dns server can betray you and leak information if you don't know what your doing.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Metadata

Release files for subzone 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for subzone 0.2.8
File Size Uploaded Provenance Actions
subzone-0.2.8.tar.gz 7.6 kB Without provenance Details for subzone-0.2.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for subzone 0.2.8
File Interpreter ABI Platform Actions
subzone-0.2.8-py3-none-any.whl Python 3 none any Details for subzone-0.2.8-py3-none-any.whl

Total release size: 17.1 kB

Release files / subzone-0.2.8.tar.gz

Download URL subzone-0.2.8.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1a160dd92e4462f5bec1f791634484285da3dc287e53b9c3e49825d836ecd6d1
BLAKE2b-256 checksum
How to use checksums
2831fc09e536ef9b3fd8f6d993e6a9304c125180a30009359909990c86850931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release files / subzone-0.2.8-py3-none-any.whl

Download URL subzone-0.2.8-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
177a6d88269e3188aa03fdb9bd0bdd36e713f1ff686b831f72553db61cf8a983
BLAKE2b-256 checksum
How to use checksums
377bf60a7b64ea60ec5d71c3792221abb85f93fded7ba95e0d29166644110677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Security for subzone 0.2.8

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.

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page