Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
nmapAutomator — 一个可以在后台运行的脚本! | Kitploit
工具/GitHubGitHub/21y4d/nmapautomator
侦察漏洞扫描器网络映射端口扫描信息收集渗透测试
GitHub21y4d/nmapautomator

nmapAutomator

一个可以在后台运行的脚本!

查看仓库
3.1k8585年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

nmapAutomator

一个可以在后台运行的脚本!

nmapAutomator

概述

此脚本的主要目标是自动化每次都要运行的枚举和侦察过程,从而让我们将注意力集中在真正的渗透测试上。

这将确保两件事:

  1. 自动化 nmap 扫描。
  2. 始终在后台运行一些侦察任务。

一旦在 5-10 秒内找到了初始端口,我们就可以开始手动检查这些端口,并让其余部分在后台自动运行,无需我们任何交互。

特性

扫描类型

  1. Network:显示主机网络中的所有活跃主机(约 15 秒)
  2. Port:显示所有开放端口(约 15 秒)
  3. Script:对已发现端口运行脚本扫描(约 5 分钟)
  4. Full:运行全端口范围扫描,然后对新端口进行彻底扫描(约 5-10 分钟)
  5. UDP:运行 UDP 扫描(需要 sudo)(约 5 分钟)
  6. Vulns:对所有已发现端口运行 CVE 扫描和 nmap 漏洞扫描(约 5-15 分钟)
  7. Recon:建议侦察命令,然后提示自动运行它们
  8. All:运行所有扫描(约 20-30 分钟)

注意:这是一个侦察工具,不执行任何利用操作。

自动侦察

使用 recon 选项,nmapAutomator 将自动推荐并运行针对每个已发现端口的最佳侦察工具。
如果您的机器上缺少推荐的工具,nmapAutomator 将建议如何安装它。

在任何 Shell 上运行

nmapAutomator 100% 兼容 POSIX,因此可以在任何 sh shell 以及任何基于 Unix 的机器(甚至是一台 10 年前的路由器!)上运行,这使得 nmapAutomator 非常适合横向移动侦察。

如果您想在远程机器上运行 nmapAutomator,只需从此链接或使用 static-get 下载一个静态 nmap 二进制文件,并将其传输到远程机器。然后您可以使用 -s/--static-nmap 指定静态 nmap 二进制文件的路径。

远程模式(测试版)

使用 -r/--remote 标志,nmapAutomator 将以远程模式运行,该模式仅使用 POSIX shell 命令,不依赖任何外部工具。
远程模式仍在开发中。目前只有以下扫描与 -r 配合使用:

  • 网络扫描(目前仅支持 ping)
  • 端口扫描
  • 全端口扫描
  • UDP 扫描
  • 侦察扫描

输出

nmapAutomator 将每种扫描类型的输出保存到输出目录下的单独文件中。
整个脚本输出也会被保存,您可以使用 less -r outputDir/nmapAutomator_host_type.txt 查看,或者直接 cat 它。


依赖要求:

ffuf,我们可以通过以下命令安装:

root@kitploit:~
sudo apt update
sudo apt install ffuf -y

或者 Gobuster 'v3.0 或更高版本',我们可以通过以下命令安装:

root@kitploit:~
sudo apt update
sudo apt install gobuster -y

脚本中使用的其他侦察工具包括:

在 Parrot OS 和 Kali Linux 中,这些工具大部分应该已默认安装。
如果发现缺少任何推荐的侦察工具,它们将被自动忽略,并通知用户。

安装:

root@kitploit:~
git clone https://github.com/21y4d/nmapAutomator.git
sudo ln -s $(pwd)/nmapAutomator/nmapAutomator.sh /usr/local/bin/

用法:

root@kitploit:~
./nmapAutomator.sh -h
Usage: nmapAutomator.sh -H/--host <TARGET-IP> -t/--type <TYPE>
Optional: [-r/--remote <REMOTE MODE>] [-d/--dns <DNS SERVER>] [-o/--output <OUTPUT DIRECTORY>] [-s/--static-nmap <STATIC NMAP PATH>]

Scan Types:
	Network : Shows all live hosts in the host's network (~15 seconds)
	Port    : Shows all open ports (~15 seconds)
	Script  : Runs a script scan on found ports (~5 minutes)
	Full    : Runs a full range port scan, then runs a thorough scan on new ports (~5-10 minutes)
	UDP     : Runs a UDP scan "requires sudo" (~5 minutes)
	Vulns   : Runs CVE scan and nmap Vulns scan on all found ports (~5-15 minutes)
	Recon   : Suggests recon commands, then prompts to automatically run them
	All     : Runs all the scans (~20-30 minutes)

示例扫描:

root@kitploit:~
./nmapAutomator.sh --host 10.1.1.1 --type All
./nmapAutomator.sh -H 10.1.1.1 -t Basic
./nmapAutomator.sh -H academy.htb -t Recon -d 1.1.1.1
./nmapAutomator.sh -H 10.10.10.10 -t network -s ./nmap

即将推出的功能

  • 支持 URL/DNS - 感谢 @KatsuragiCSL
  • 为 HTTP 侦察添加扩展模糊测试
  • 添加 nmap 进度条
  • 列出侦察中缺失的工具
  • 添加更改输出文件夹的选项
  • 将完整脚本输出保存到文件
  • 提高脚本的性能和效率 - 感谢 @caribpa
  • 使 nmapAutomater 100% 兼容 POSIX。 - 非常感谢 @caribpa
  • 添加网络扫描类型,使 nmapAutomator 能发现网络上的活跃主机。
  • 允许在一次扫描中使用多种扫描类型。
  • 允许在一次扫描中扫描多个主机。
  • 在所有扫描中完全实现远程模式

欢迎提交您的拉取请求 :)
对于任何拉取请求,请尽量遵循这些贡献指南。

下载工具
nmap Vulnerssslscanniktojoomscanwpscan
droopescansmbmapenum4linuxdnsreconodat
smtp-user-enumsnmp-checksnmpwalkldapsearch