Skip to main content
 ████████╗██████╗ ███████╗███████╗ ██████╗ ██╗  ██╗
 ╚══██╔══╝██╔══██╗██╔════╝██╔════╝██╔════╝ ╚██╗██╔╝
    ██║   ██████╔╝█████╗  █████╗  ██║  ███╗ ╚███╔╝
    ██║   ██╔══██╗██╔══╝  ██╔══╝  ██║   ██║ ██╔██╗
    ██║   ██║  ██║███████╗███████╗╚██████╔╝██╔╝ ██╗
    ╚═╝   ╚═╝  ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝

A professional, authorization-gated reconnaissance & security assessment toolkit for the terminal.

PyPI Python License: MIT


⚖️ Authorized use only

TreeGX performs active network reconnaissance and assessment. Use it only against systems you own or have explicit written permission to test. Unauthorized scanning may be illegal and violates most providers' terms of service. On first run TreeGX requires you to accept this and keeps a per-machine scope allow-list so scans cannot be pointed at third parties by accident.

TreeGX is detection-oriented. It identifies and reports weaknesses so an owner can fix them. It deliberately contains no denial-of-service tooling, no data-exfiltration, no database dumping, and no remote-code-execution capability.


✨ Features

38 self-contained tools, each in its own folder with code, a README and any data it needs. All pure-Python dependencies that install cleanly on Termux (requests, dnspython) — no compiled packages.

Reconnaissance: portscan · subenum · techdetect · waf · whois · ipgeo · robotstxt · emailharvest · wellknown · favicon · cvelookup

Web application: httpheaders · contentdisco · apicheck · corscheck · httpmethods · cookieaudit · redirectchain · securitytxt · graphqlcheck · jwtinspect

TLS / transport: tlsscan · httpsredirect · hstspreload

DNS: dnsrecon · revdns · zonetransfer · dnssec · takeover

E-mail security: spfcheck · dmarccheck · dkimcheck · mxcheck

Vulnerability detection (safe): vulnscan

Forensics / utilities: hashid · fileanalyze · mailheader · codec

Run treegx list for a one-line description of each. Plus: a polished ANSI terminal UI, a Turkish interactive sectioned menu, and JSON/text report export.


📦 Installation

pip install treegx

From source:

git clone https://github.com/ThT0AltayHR/TreeGX.git
cd TreeGX
pip install -e .

Requires Python 3.8+.


🚀 Usage

Launch the interactive menu:

treegx

List tools:

treegx list

Run a single tool:

treegx headers https://example.com
treegx portscan example.com --ports 1-1024
treegx subenum example.com
treegx tls example.com
treegx dns example.com
treegx waf https://example.com

Save a report:

treegx headers https://example.com -o report.json
treegx portscan example.com -o report.txt -f txt

Global flags: --threads, --timeout, --insecure, --quiet, --output/-o, --format/-f {json,txt}, --no-banner.


🧱 Project structure

Each tool lives in its own package folder with its code, a focused README.md, and any data files (wordlists, signatures) it needs:

treegx/
├── core/           # shared UI, HTTP client, scope gate, report model
├── tools/
│   ├── portscan/
│   ├── subenum/
│   ├── techdetect/
│   ├── waf/
│   ├── httpheaders/
│   ├── contentdisco/
│   ├── apicheck/
│   ├── corscheck/
│   ├── tlsscan/
│   ├── vulnscan/
│   └── dnsrecon/
├── cli.py          # command-line interface
└── menu.py         # interactive menu

🤝 Contributing

New tools are self-registering: drop a module under treegx/tools/<name>/ exposing a TOOL descriptor and a run(ctx, **kwargs) function, add it to the registry list, and it appears in the CLI and the menu automatically.


📄 License

MIT © Muhammed Balın. See LICENSE.

Metadata

Release files for treegx 1.3.0

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

Source distribution (sdist)

Source distribution for treegx 1.3.0
File Size Uploaded Provenance Actions
treegx-1.3.0.tar.gz 68.0 kB Without provenance Details for treegx-1.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 157.0 kB

Release files / treegx-1.3.0.tar.gz

Download URL treegx-1.3.0.tar.gz
Size 68.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a5c3e7c21d6b05f5d84130dafb9f925d6bdda051f942f2d23d87498ad7a6cada
BLAKE2b-256 checksum
How to use checksums
881af684ecbea8ad29b7321f148718ae733b458fe5867e0ce775b64e152612dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / treegx-1.3.0-py3-none-any.whl

Download URL treegx-1.3.0-py3-none-any.whl
Size 89.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d0b4f3098a9a046a420758369ce4f576ac986a04a35ecc9e09335a71f777d8e
BLAKE2b-256 checksum
How to use checksums
7183f5696b7f5fb9da17f336be8ecfd4ea31b1ce52b49a55c154bb69b2b590f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for treegx 1.3.0

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.

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