nexxrt/nxmap

GitHub: nexxrt/nxmap

轻量级 Python 网络扫描器,集成端口扫描、子域名爆破与目录发现功能,作为 nmap 和 dirsearch 的精简替代方案。

Stars: 0 | Forks: 0

# nxmap 网络扫描器 — 端口、子域名、目录。轻量级的 nmap + dirsearch 替代方案。 ![许可证: MIT](https://img.shields.io/badge/License-MIT-green.svg) ![Python 3.8+](https://img.shields.io/badge/Python-3.8%2B-blue.svg) ## 安装说明 **Ubuntu / Debian / WSL** ``` sudo apt update && sudo apt install -y python3 && pip install dnspython && sudo curl -sSL https://raw.githubusercontent.com/nexxrt/nxmap/main/nxmap.py -o /usr/local/bin/nxmap && sudo chmod +x /usr/local/bin/nxmap ``` **Arch** ``` sudo pacman -S --noconfirm python && pip install dnspython && sudo curl -sSL https://raw.githubusercontent.com/nexxrt/nxmap/main/nxmap.py -o /usr/local/bin/nxmap && sudo chmod +x /usr/local/bin/nxmap ``` **macOS** ``` brew install python && pip install dnspython && sudo curl -sSL https://raw.githubusercontent.com/nexxrt/nxmap/main/nxmap.py -o /usr/local/bin/nxmap && sudo chmod +x /usr/local/bin/nxmap ``` ## 使用说明 ``` nxmap target.com full scan nxmap target.com -p top 158 ports nxmap target.com -p 80,443 specific ports nxmap target.com -p 1-1000 port range nxmap target.com -s subdomains nxmap target.com -s -w list.txt custom wordlist nxmap target.com -d directories (HTTPS + HTTP) nxmap target.com -d --http HTTP only ``` ## 功能 - TCP 端口扫描,支持 banner grabbing(SSH、HTTP、MySQL 等) - 自定义端口:单个 (`-p 80`)、列表 (`-p 22,80,443`)、范围 (`-p 1-1000`) - 子域名 DNS 暴力破解(内置 94 个名称,支持自定义字典) - 基于 HTTP/HTTPS 的目录暴力破解(内置 77 条路径) - 多线程(可配置,默认 50) - 通过 banner 进行服务版本检测 ## 依赖 - Python 3.8+ - `dnspython`(用于子域名扫描 — `pip install dnspython`) 无其他依赖 — 其他所有功能均使用纯标准库实现。 ## 相关项目 - [nxlookup](https://github.com/nexxrt/nxlookup) — 域名与 IP 调查 - [nxlookup-ui](https://github.com/nexxrt/nxlookup-ui) — 桌面端 GUI
标签:Python, 子域名枚举, 插件系统, 数据统计, 无后门, 目录爆破, 端口扫描, 系统安全, 网络扫描器, 逆向工具