Skip to content

Debajyoti0-0/TriNetra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TriNetra πŸ”±

The Third Eye that Sees Beyond the Surface..πŸ”ŽπŸŒ

β•”β•¦β•—β”¬β”€β”β”¬β•”β•—β•”β”Œβ”€β”β”Œβ”¬β”β”¬β”€β”β”Œβ”€β”
 β•‘ β”œβ”¬β”˜β”‚β•‘β•‘β•‘β”œβ”€  β”‚ β”œβ”¬β”˜β”œβ”€β”€
 β•© β”΄β””β”€β”΄β•β•šβ•β””β”€β”˜ β”΄ ┴└─┴ β”΄

TriNetra is a fast, smart, multi-threaded crawler that digs below the surface of your target web-site to uncover hidden endpoints, API keys, and JWTs. Built for bug-hunters, penetration testers and OSINT researchers, it combines coloured Rich output with powerful features like Tor routing and CSRF-aware requests β€” all from the comfort of your terminal.


✨ Features

  • πŸš€ High-performance threaded crawler (configurable worker pool)
  • 🌐 HTML / JS / sitemap / robots.txt link extraction
  • πŸ”‘ JWT & API-key candidate discovery
  • πŸ§… Tor & proxy support (HTTP/SOCKS)
  • πŸ›‘οΈ CSRF token fetch / inject workflow
  • ⚑ HTTP/2 option via httpx
  • 🎨 Polished Rich CLI with colour tables & panels
  • πŸ’Ύ Export to JSON and/or CSV
  • 🐍 100 % Python β€” no external binaries required

πŸ“¦ Installation

# 1. Clone
git clone https://github.com/Debajyoti0-0/TriNetra.git
cd TriNetra

# 2. (Recommended) Create virtual-env
python3 -m venv venv
source venv/bin/activate   # on Windows: venv\Scripts\activate

# 3. Install dependencies
pip install -r requirements.txt

# 4. (Optional) Performance extras
pip install lxml httpx[socks]

Python 3.8+ is required.


πŸ“˜ Usage

See docs/usage.md for full CLI options and examples.


πŸ“ Output format

JSON report structure:

[
  {
    "target": "https://example.com",
    "endpoints": [
      { "endpoint": "https://example.com/hidden/api", "source": "https://example.com/dashboard" }
    ],
    "jwt_candidates": ["eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."],
    "api_keys": ["7f12e9cd513b4d0d..."]
  }
]

CSV report (when --csv file.csv) contains one row per endpoint with optional Source column.


✨ Visual Demo

alt text

πŸ“‚ Repository layout

TriNetra/
β”œβ”€β”€ README.md           # You are here!
β”œβ”€β”€ TriNetra.py         # Main executable script
β”œβ”€β”€ requirements.txt    # Pinned dependencies
β”œβ”€β”€ .gitignore          # Common Python ignores
β”œβ”€β”€ LICENSE             # GPL-3.0
β”œβ”€β”€ docs/               # Additional docs & screenshots
β”‚   └── usage.md
β”œβ”€β”€ examples/           # Sample raw requests & wordlists
β”‚   └── sample_request.txt
└── .github/            # CI / templates (optional)
    β”œβ”€β”€ workflows/ci.yml
    └── ISSUE_TEMPLATE.md

🀝 Contributing

Pull-requests and feature suggestions are welcome! Please open an issue first to discuss major changes.

  1. Fork the project & create a new branch.
  2. Commit your changes with clear messages.
  3. Open a PR describing what & why.

Check docs/CONTRIBUTING.md for coding guidelines.


πŸ›‘οΈ License

TriNetra is released under the GPL-3.0 License β€” see the LICENSE file for details.


πŸ™ Acknowledgements

Rich, Requests, BeautifulSoup, httpx, and the broader open-source community made this project possible.

May TriNetra be your third eye in the hunt for obscure attack surface!

About

TriNetra is a fast web recon tool that uncovers hidden endpoints, API keys, and tokens β€” built for bug hunters and OSINT pros with Tor support and rich CLI output.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages