████████╗██████╗ ███████╗███████╗ ██████╗ ██╗ ██╗
╚══██╔══╝██╔══██╗██╔════╝██╔════╝██╔════╝ ╚██╗██╔╝
██║ ██████╔╝█████╗ █████╗ ██║ ███╗ ╚███╔╝
██║ ██╔══██╗██╔══╝ ██╔══╝ ██║ ██║ ██╔██╗
██║ ██║ ██║███████╗███████╗╚██████╔╝██╔╝ ██╗
╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝
A professional, authorization-gated reconnaissance & security assessment toolkit for the terminal.
⚖️ 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
25 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
Web application: httpheaders · contentdisco · apicheck · corscheck ·
httpmethods · cookieaudit · redirectchain · securitytxt ·
graphqlcheck · jwtinspect
TLS / transport: tlsscan · httpsredirect · hstspreload
Vulnerability detection (safe): vulnscan
DNS: dnsrecon
Run treegx list for a one-line description of each. Plus: a polished ANSI
terminal UI, an 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.2.0
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 |
|---|---|---|---|---|
| treegx-1.2.0.tar.gz | 48.1 kB | Without provenance | Details for treegx-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| treegx-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for treegx-1.2.0-py3-none-any.whl |
Total release size: 112.1 kB
Release files / treegx-1.2.0.tar.gz
| Download URL | treegx-1.2.0.tar.gz |
|---|---|
| Size | 48.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66a4c1a882b3d299f1b592d6ad7d16aad47483f16c116ba4dcd8c7642028d683
|
|
BLAKE2b-256 checksum How to use checksums |
52ba6c1ff93414a3d4678c2b337bb26ef96dd2ef525670abbf198b3358e6571a
|
| 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.2.0-py3-none-any.whl
| Download URL | treegx-1.2.0-py3-none-any.whl |
|---|---|
| Size | 63.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da7e875b3438e475cc33aa6d3acf22ba266585dfb0d1ed094ae66eec076598ad
|
|
BLAKE2b-256 checksum How to use checksums |
5bf0b9d1ee8f2a7f7e5f45614f38b611b9b8f769fcfc1b2eca3fd4e82b04deb4
|
| 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.2.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.