![Python]()
![Tor Network]()
![Tor Controller]()
![Packet Crafting]()
The Tor Network Toolkit (TNT) is a multi-OS demonstration framework that showcases how to interact with the Tor network programmatically and how to run local packet-crafting operations using Scapy. Tor traffic and Scapy traffic remain strictly separated, as raw ICMP and TCP packets cannot be routed through Tor.
This project is designed for researchers, analysts, and de who need a clean, minimal, and reproducible demo setup for Tor automation and local network inspection.
* Launches a Tor process with a dedicated data directory
* Full lifecycle control manager (startup, controller authentication, cleanup)
* Requests a new Tor identity (NEWNYM)
* Queries the current Tor exit IP
* Performs HTTP requests via Tor (SOCKS5)
* Local ICMP Echo demo
* Local TCP SYN demo
* Cross-platform pri detection for raw sockets
* Python 3.x
* Tor installed on the system or automatically launched
* Python packages:
* stem
* requests
* pysocks
* scapy (optional, only required for local demos)
Install all dependencies:
---
Default run:
Modes:
Custom URL:
New identity:
Change Scapy target:
* Starts a Tor instance
* Connects to the control port
* Gets exit IP
* Optional NEWNYM identity change
* Performs an HTTP request through Tor
* ICMP Echo Request (local)
* TCP SYN probe (local)
* Does not use Tor
Runs both Tor and Scapy demos sequentially.
* ICMP and TCP raw packets cannot be routed through Tor
* Raw socket operations require admin/root pri
* NEWNYM requires a short cooldown
* Tor data directory is isolated (./tor_data)
* Ensure the Tor control port is enabled for external instances
This toolkit is intended for research, education, debugging, and network analysis in controlled en.
It demonstrates Tor automation and local packet crafting for privacy research, protocol inspection, and de workflows.
Certain functions (raw sockets, packet crafting, identity rotation) can be considered dual-use.
Use of this software must comply with applicable laws, ethical guidelines, and the Tor Project’s policies.
Do not run Scapy-based operations or traffic analysis against systems you do not own or ha permission to test.
Tor traffic in this toolkit is limited to standard HTTP(S) requests.
Scapy traffic is strictly local and ne through Tor.
Respect the copyright. It is provided as a free learning resource under GPLv3.
This project is licensed under the GNU General Public License v3 (GPLv3).
You must retain the copyright notice and share modifications under the same license.
> (Readme.md crafted with the help of AI. Code crafted by Sah)
Found this useful?
Stay secure. Stay paranoid. 🔒
##### Security Guides:
Thank you for your support! ❤️
Created by Sah (Kücükbudak).
> More pri:
> Updated on 07.12.2025
开发语言:Python
Star 数:6
该项目属于防护思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕The Tor Network Toolkit (TNT) is a multi-OS demonstration framework that showcases how to interact with the Tor network programmatically and how to run local packet-crafting operations using Scapy. Tor traffic and Scapy traffic remain strictly separated, as raw ICMP and TCP packets cannot be routed through Tor.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | TNT - The Tor Network Toolkit (TNT) is a multi-OS demons |
| 所属分类 | 防护思路 |
| 发布作者 | admin |
| 发布时间 | 2026-10-06 00:14:12 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 79 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |