Skip to content

appy002255/GXTRO

Repository files navigation

DISCLAIMER

⚠️ 嚴重警告:新手超級不友善!⚠️

如果你沒有專業計算機知識,請勿下載,後果自負

Disclaimer / 免責聲明

This project is provided "as is" without any warranties, guarantees, or liabilities. By using this project, you agree to the following terms:

  1. No Responsibility: The author is not responsible for any damages, data loss, or security breaches resulting from the use of this project.
  2. Use at Your Own Risk: This project is intended for educational and personal use only. Any unauthorized or malicious use is strictly prohibited.
  3. No Support or Maintenance: There is no guarantee of support, updates, or maintenance for this project.
  4. Legal Compliance: Users must ensure that their use of this project complies with all local laws and regulations. The author does not take any responsibility for misuse.
  5. Modification & Distribution: You are free to modify and distribute this project under the applicable license, but you must include this disclaimer.

By downloading, using, or modifying this project, you acknowledge that you understand and accept these terms.

License Terms

Creative Commons Attribution-Noncommercial-Share Alike 4.0 International License

You are free to:

  • Share — Reproduce and distribute this material in any medium or format
  • Adapt — modify, transform, or build upon this material

However, the following conditions must be followed:

  • Attribution — You must give appropriate credit, provide a link to the license terms, and indicate if changes were made. You may do so in any reasonable way, but you may not do so in any way that suggests that the licensor endorses you or your use.
  • Non-Commercial — You may not use this material for commercial purposes.
  • Share Alike — If you modify, transform, or build upon this material, you must distribute your contributions under the same or compatible terms.

For full license terms, please see: https://creativecommons.org/licenses/by-nc-sa/4.0/

Additional Notes

  • **This code is for research and educational purposes only. **
  • **Using this code for any illegal activities is strictly prohibited. **
  • **The author is not responsible for any violation of these terms. **
  • **Please read and understand this license terms carefully. **
  • **Using this code constitutes your agreement to these terms. **

Frequently Asked Questions

**Q: Can I use this code to attack my friends? **

Answer: No. Use of this code for any illegal activity is strictly prohibited.

**Q: What if my computer is damaged due to using this code? **

A: The author is not responsible for any damages. You use this code at your own risk.

**Q: Can I modify this code? **

A: Yes, you can modify this code, but you must distribute your modified versions under the same or compatible terms and not for commercial purposes.


_____ __ __ _______ _____ ____
/ ____|\ \ / /|\__ __|| __ \ / __ \
| | __ \ V / | | | |__) || | | |
| | |_ | > < | | | _ / | | | |
| |__| | / . \ | | | | \ \ | |__| |
\_____|/_/ \_\ |_| |_| \_\ \____/

此專案以 "原樣" 提供,不提供任何保證、擔保或責任。使用此專案即表示您同意以下條款:

  1. 責任免除:作者不對因使用本專案造成的任何損害、資料遺失或安全問題負責。
  2. 風險自負:本專案僅供學術與個人使用,嚴禁任何未經授權或惡意用途。
  3. 無支援與維護:本專案不保證提供任何技術支援、更新或維護。
  4. 合法合規:使用者須確保其使用行為符合當地法律與規範,作者不承擔任何違法行為的責任。
  5. 修改與散佈:您可以修改或重新分發本專案,但必須附上本免責聲明。

下載、使用或修改本專案,即表示您理解並接受以上條款。

授權條款

創用CC 姓名標示-非商業性-相同方式分享 4.0 國際授權條款

您可以自由地:

  • 分享 — 在任何媒介或格式中重製及散布本素材
  • 改作 — 修改、轉換或建構於本素材之上

惟需遵照下列條件:

  • 姓名標示 — 您必須給予適當的致謝,提供指向授權條款的連結,並說明是否有做過修改。您可以用任何合理的方式來進行,但不得以任何方式暗示授權人為您或您的使用背書。
  • 非商業性 — 您不得將本素材用於商業目的。
  • 相同方式分享 — 若您修改、轉換或建構於本素材之上,您必須依相同或相容的條款來散布您的貢獻作品。

完整授權條款請參閱:https://creativecommons.org/licenses/by-nc-sa/4.0/

附加說明

  • 此程式碼僅供研究和教育目的使用。
  • 嚴禁將此程式碼用於任何非法活動。
  • 作者不對任何違反這些條款的行為負責。
  • 請仔細閱讀並理解此授權條款
  • 使用此程式碼即表示您同意這些條款。

常見問題

問:我可以使用此程式碼來攻擊我的朋友嗎?

答:不行。嚴禁將此程式碼用於任何非法活動。

問:如果我的電腦因為使用了此程式碼而損壞了怎麼辦?

答:作者不對任何損害負責。您必須自行承擔使用此程式碼的風險。

問:我可以修改此程式碼嗎?

答:可以,您可以修改此程式碼,但您必須以相同或相容的條款發布您的修改版本,且不得用於商業用途。


  _____ __   __ _______  _____    ____
 / ____|\ \ / /|\__   __||  __ \  / __ \
| |  __  \ V /    | |   | |__) || |  | |
| | |_ |  > <     | |   |  _  / | |  | |
| |__| | / . \    | |   | | \ \ | |__| |
 \_____|/_/ \_\   |_|   |_|  \_\ \____/

License: CC BY-NC-ND 4.0

Download

如果您同意,請查看以下密碼:

密碼:123331170


Network Communication Tool

A powerful cross-platform network communication tool that supports Windows and Linux systems.

Features

  • Send randomly generated data to specified IP and port
  • Multi-threaded sending for improved efficiency
  • Configurable number of sends and timeout
  • Support for fake IP addresses
  • Support for receiving server responses
  • Colored output interface
  • Progress bar display
  • Multi-language support (English/Chinese)
  • Disclaimer confirmation
  • Error handling and prompts
  • Cross-platform support (Windows/Linux)
  • TCP/UDP protocol selection
  • IPv6 support
  • Advanced network diagnostics:
    • Traceroute
    • DNS resolution time testing
    • TCP connection analysis
    • Bandwidth testing
  • Packet capture and analysis
  • Test configuration save/load

System Requirements

  • Python 3.x
  • Administrator privileges (required for raw sockets)
  • Dependencies:
    • colorama
    • tqdm
    • scapy
    • psutil
    • pyyaml
    • python-pcapng
    • dnspython

Installation

pip install -r requirements.txt

Usage

Interactive Mode

  1. Run the program as administrator:
python network_tool.py
  1. Follow the prompts:
    • Select language (1: English, 2: Chinese)
    • Read and agree to the disclaimer
    • Choose protocol (TCP/UDP)
    • Choose IP version (IPv4/IPv6)
    • Enter target IP address
    • Enter target port (default 80)
    • Enter number of sends (default 1)
    • Enter timeout (default 5 seconds)
    • Enter thread count (default 10)
    • Choose whether to use fake IP
    • Choose whether to receive server response
    • Option to save configuration

Command Line Mode

You can also run directly with command line parameters:

python network_tool.py <IP> <port> [sends] [timeout] [threads] [fake_ip(y/n)] [receive_response(y/n)]

Network Diagnostics

The tool provides comprehensive network diagnostics:

  • Traceroute to identify network path
  • DNS resolution time testing
  • TCP connection analysis
  • Bandwidth testing
  • Packet capture and analysis

Configuration Management

  • Save test configurations for future use
  • Load previously saved configurations
  • Automatic configuration backup

Parameter Description

  • IP: Target server IP address
  • port: Target server port number
  • sends: Optional, number of sends (default 1)
  • timeout: Optional, in seconds (default 5)
  • threads: Optional, number of concurrent threads (default 10)
  • fake_ip: Optional, y/n (default y)
  • receive_response: Optional, y/n (default n)

Examples

# Interactive mode
python network_tool.py

# Command line mode (with default parameters)
python network_tool.py 192.168.1.100 80

# Command line mode (with all parameters)
python network_tool.py 192.168.1.100 80 5 10 20 y n

Notes

  • Administrator privileges are required for raw sockets
  • Server responses cannot be received when using fake IP
  • Ensure the target server is running and listening on the specified port
  • Program will automatically exit if the target server doesn't respond within timeout
  • Random data includes letters, numbers, and punctuation
  • Please comply with local laws and regulations, use only in legally authorized environments

Disclaimer

This tool is for educational and research purposes only. By using this tool, you agree to:

  1. Use this tool only in legally authorized environments
  2. Not use this tool for any illegal activities
  3. Take full responsibility for any consequences of using this tool
  4. Developer is not responsible for any misuse

Using this tool indicates that you have read and agreed to these terms.


網絡通信工具

這是一個功能強大的跨平台網絡通信工具,支持 Windows 和 Linux 系統。

功能特點

  • 支持向指定IP和端口發送隨機生成的數據
  • 多線線程發送,提高效率
  • 可設置發送次數和超時時間
  • 支持使用假IP地址
  • 支持接收服務器響應
  • 彩色輸出界面
  • 進度條顯示
  • 多語言支持(英文/中文)
  • 免責聲明確認
  • 錯誤處理和提示
  • 跨平台支持(Windows/Linux)
  • TCP/UDP協議選擇
  • IPv6支持
  • 高級網絡診斷功能:
    • 路由追蹤
    • DNS解析時間測試
    • TCP連接分析
    • 帶寬測試
  • 數據包捕獲和分析
  • 測試配置保存/加載

系統要求

  • Python 3.x
  • 管理員權限(使用原始套接字時需要)
  • 依賴包:
    • colorama
    • tqdm
    • scapy
    • psutil
    • pyyaml
    • python-pcapng
    • dnspython

安裝依賴

pip install -r requirements.txt

使用方法

交互式模式

  1. 以管理員身份運行程序:
python network_tool.py
  1. 按照提示操作:
    • 選擇語言(1: 英文, 2: 中文)
    • 閱讀並同意免責聲明
    • 選擇協議(TCP/UDP)
    • 選擇IP版本(IPv4/IPv6)
    • 輸入目標IP地址
    • 輸入目標端口(默認80)
    • 輸入發送次數(默認1)
    • 輸入超時時間(默認5秒)
    • 輸入線程數(默認10)
    • 選擇是否使用假IP
    • 選擇是否接收服務器響應
    • 可選保存配置

命令行模式

也可以使用命令行參數直接運行:

python network_tool.py <IP地址> <端口> [發送次數] [超時時間] [線程數] [是否使用假IP(y/n)] [是否接收響應(y/n)]

網絡診斷

工具提供全面的網絡診斷功能:

  • 路由追蹤以識別網絡路徑
  • DNS解析時間測試
  • TCP連接分析
  • 帶寬測試
  • 數據包捕獲和分析

配置管理

  • 保存測試配置以供將來使用
  • 加載之前保存的配置
  • 自動配置備份

參數說明

  • IP地址: 目標服務器的IP地址
  • 端口: 目標服務器的端口號
  • 發送次數: 可選,發送數據的次數(默認為1)
  • 超時時間: 可選,單位為秒(默認為5)
  • 線程數: 可選,並發線程數量(默認為10)
  • 是否使用假IP: 可選,y/n(默認為y)
  • 是否接收響應: 可選,y/n(默認為n)

使用示例

# 交互式模式
python network_tool.py

# 命令行模式(使用默認參數)
python network_tool.py 192.168.1.100 80

# 命令行模式(指定所有參數)
python network_tool.py 192.168.1.100 80 5 10 20 y n

注意事項

  • 使用原始套接字需要管理員權限
  • 使用假IP時無法收到服務器響應
  • 請確保目標服務器正在運行並監聽指定的端口
  • 如果目標服務器沒有響應,程序會在超時後自動退出
  • 隨機數據包含字母、數字和標點符號
  • 請遵守當地法律法規,僅在合法授權的環境中使用本工具

免責聲明

本工具僅用於教育和研究目的。使用本工具時,您同意:

  1. 您將僅在合法授權的環境中使用本工具
  2. 您不會使用本工具進行任何非法活動
  3. 您對使用本工具造成的任何後果負全部責任
  4. 開發者不對任何不當使用承擔責任

使用本工具即表示您已閱讀並同意以上條款。

Version History

v1.03 (2024-03-22)

New Features

  • Added advanced network diagnosis functionality
  • Added traceroute feature with real-time output
  • Added comprehensive DNS record testing (A, MX, NS, TXT, SOA)
  • Added PTR record lookup for IP addresses
  • Added detailed network latency testing with statistics
  • Added real-time progress tracking for network tests
  • Added support for both TCP and UDP protocols
  • Added real-time output for all network tests

Improvements

  • Enhanced error handling with detailed feedback
  • Improved thread synchronization and management
  • Added better protocol support detection
  • Enhanced network diagnosis with detailed results
  • Updated user interface with clearer prompts
  • Added real-time status updates during tests

Bug Fixes

  • Fixed thread synchronization issues
  • Fixed socket timeout handling
  • Improved protocol detection accuracy
  • Fixed error message formatting
  • Fixed progress bar display issues
  • Fixed various thread-related race conditions

v1.02 (2024-03-21)

New Features

  • Added port scanning option during network diagnosis
  • Added support for custom source IP addresses
  • Added CDN node detection
  • Added network latency measurement
  • Added packet loss rate calculation

Improvements

  • Default port number is now 80
  • Network diagnosis now includes 10 test packets
  • Added support for multiple protocols (TCP, UDP, ICMP)
  • Added detailed error messages and warnings
  • Improved user interface with colored output

Bug Fixes

  • Fixed issue with port scanning timeout
  • Fixed issue with network latency measurement
  • Fixed issue with packet loss calculation
  • Fixed issue with error handling in network diagnosis

Changes

  • Network diagnosis now asks for port scanning permission
  • Added default values for all user inputs
  • Improved error handling and user prompts
  • Added support for both English and Traditional Chinese languages

v1.01 (2024-03-20)

New Features

  • Added multi-language support (English/Chinese)
  • Added disclaimer confirmation
  • Added progress bar display
  • Added colored output interface

Improvements

  • Improved error handling
  • Added user prompts for all inputs
  • Added default values for parameters
  • Added support for fake IP addresses

Bug Fixes

  • Fixed issue with socket timeout
  • Fixed issue with thread management
  • Fixed issue with error messages
  • Fixed issue with user input validation

v1.00 (2024-03-19)

Initial Release

  • Basic network communication functionality
  • Support for sending random data
  • Multi-threaded sending
  • Configurable parameters
  • Cross-platform support

About

免責聲明 (Disclaimer) 本程式 (以下簡稱「本軟體」) 由使用者自行執行,所有風險由使用者自行承擔。開發者不對因使用或誤用本軟體導致的任何損失、數據丟失、設備損壞或其他問題負責。 使用本軟體即表示您同意以下條款: 本軟體僅供學習、測試或個人用途,禁止用於非法活動。 開發者不保證本軟體的適用性、可靠性或安全性。 使用者需自行承擔因使用本軟體所造成的任何後果,包括但不限於系統錯誤、數據遺失或法律責任。 若您不同意本免責聲明,請勿使用本軟體,並立即刪除相關文件。

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages