navyasyal/python-port-scanner

GitHub: navyasyal/python-port-scanner

一个轻量级多线程 TCP 端口扫描工具,支持服务检测和结果导出,用于快速发现目标主机的开放端口与运行服务。

Stars: 0 | Forks: 0

# Python 端口扫描器 一个使用 Python 构建的多线程 TCP 端口扫描器。 ## 功能 - TCP 端口扫描 - 多线程扫描 - Banner 抓取 - 服务检测 - 导出 CSV - 导出 JSON - 扫描日志 - 命令行界面 - 目标验证 ## 使用的技术 - Python - Socket 编程 - ThreadPoolExecutor - argparse - csv - json - logging - colorama ## 安装说明 ``` git clone cd python_port_scanner pip install -r requirements.txt ``` ## 用法 ``` python scanner.py scanme.nmap.org ``` 扫描指定端口 ``` python scanner.py scanme.nmap.org -p 20-100 ``` ## 示例输出 ``` Scanning scanme.nmap.org... Port 22 OPEN Service : ssh Port 80 OPEN Service : http Results saved successfully. ``` ## 输出文件 - results/scan.csv - results/scan.json - scanner.log
标签:Python, 云存储安全, 插件系统, 数据统计, 无后门, 服务器安全, 端口扫描, 网络安全, 网络扫描, 逆向工具, 隐私保护