Metadata-Version: 2.4
Name: treegx
Version: 1.2.0
Summary: TreeGX — a professional, authorization-gated reconnaissance & security assessment toolkit for the terminal.
Author: Muhammed Balın
License: MIT
Project-URL: Homepage, https://github.com/ThT0AltayHR/TreeGX
Project-URL: Repository, https://github.com/ThT0AltayHR/TreeGX
Project-URL: Issues, https://github.com/ThT0AltayHR/TreeGX/issues
Keywords: security,reconnaissance,pentest,infosec,cli,waf,tls,subdomain,dns,assessment
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Security
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.28
Requires-Dist: dnspython>=2.3
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Dynamic: license-file

<div align="center">

```
 ████████╗██████╗ ███████╗███████╗ ██████╗ ██╗  ██╗
 ╚══██╔══╝██╔══██╗██╔════╝██╔════╝██╔════╝ ╚██╗██╔╝
    ██║   ██████╔╝█████╗  █████╗  ██║  ███╗ ╚███╔╝
    ██║   ██╔══██╗██╔══╝  ██╔══╝  ██║   ██║ ██╔██╗
    ██║   ██║  ██║███████╗███████╗╚██████╔╝██╔╝ ██╗
    ╚═╝   ╚═╝  ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═╝  ╚═╝
```

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

[![PyPI](https://img.shields.io/pypi/v/treegx.svg)](https://pypi.org/project/treegx/)
[![Python](https://img.shields.io/pypi/pyversions/treegx.svg)](https://pypi.org/project/treegx/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

</div>

---

## ⚖️ 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

```bash
pip install treegx
```

From source:

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

Requires Python 3.8+.

---

## 🚀 Usage

Launch the interactive menu:

```bash
treegx
```

List tools:

```bash
treegx list
```

Run a single tool:

```bash
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:

```bash
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](LICENSE).
