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

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

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

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

工具目录

分类

查看所有分类
Loading categories
GoEnumerator — 我用 GO 编写的个人工具,用于对目标进行常规的初步枚举步骤。 | Kitploit
工具/GitLabGitLab/rek2/goenumerator
侦察漏洞利用框架端口扫描漏洞分析信息收集渗透测试
GitLabrek2/goenumerator

GoEnumerator

我用 GO 编写的个人工具,用于对目标进行常规的初步枚举步骤。

查看仓库
117年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

pipeline status

关于 GoEnumerator

  • GoEnumerator 是我出于乐趣而编写的工具,但也用于我自己的枚举工作,因此我会不断添加更多功能,以加快在 CTF 枚举或专业渗透测试中的初始步骤。我还会添加功能和选项,使工具不会触发 IDS 等。
  • 为什么选择 GoEnumerator?如上所述,我希望拥有能够写入数据库的工具,这样我以后可以导出数据,或使用 PostgreSQL UI 来组织数据,或者轻松导出到其他工具(我希望以后也会制作的其他工具)。

使用方法

  • 复制 GoEnumerator.yaml 或将其创建在 ~/.GoEnumerator.yaml
  • 填写数据库凭据,详情请参见下方“数据库配置”

前端 UI 工具

  • QGoEnumerator [即将推出!] - GoEnumerator 的官方前端
  • https://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools
  • https://www.pgadmin.org/
  • Libre Office - 原生 PostgreSQL 数据库驱动 如何为 PostGreSQL 配置 LibreOffice 你可以使用数据库向导创建报告和许多好东西,导出为 HTML,使用自己的模板创建渗透测试报告等!

Bash 自动补全

  • 要启用所有命令和子命令的 Tab/Bash 自动补全,只需运行:
root@kitploit:~
. <(GoEnumerator completion)
  • 要配置你的 bash shell 在每次会话中加载自动补全,请添加到 bashrc:
root@kitploit:~
# ~/.bashrc 或 ~/.profile
echo '. <(GoEnumerator completion)' >> ~/.bashrc

数据库配置

  • 安装 PostgreSQL
root@kitploit:~
  yay -S postgresql 
  • 初始化它
root@kitploit:~
sudo -u postgres -i
initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'   # 初始化主数据库集群
  • 启动它
root@kitploit:~
  systemctl start postgresql
  • 创建凭据和数据库
root@kitploit:~
  createuser --interactive --pwprompt    # 所有问题都回答 no,因为你不想给将要使用此应用程序的用户授予权限
  createdb GoEnumerator -U <上面创建的用户名>
  • 访问数据库 shell
root@kitploit:~
  psql -d GoEnumerator
  \c #GoEnumerator  # 连接到特定数据库
  \du #列出所有用户及其权限级别
  \dt #列出数据库中所有表的信息
  • 清除历史记录
root@kitploit:~
  rm ~/.psql_history

点击此处获取更多信息

使用示例:

  • 添加项目/操作
root@kitploit:~
[blackarch files ]$ GoEnumerator project addOp hackthebox
Using config file: /home/rek2/.GoEnumerator.yaml
hackthebox
  • 向项目或操作添加 IP/主机
root@kitploit:~
[blackarch files ]$ GoEnumerator project addHost -i 10.10.10.105 -p hackthebox
Using config file: /home/rek2/.GoEnumerator.yaml
hackthebox 10.10.10.105
[ blackarch files ]$ GoEnumerator project showHosts -p hackthebox
Using config file: /home/rek2/.GoEnumerator.yaml
--- Operation hackthebox ---
Hosts:
- 10.10.10.105
  • 项目/操作列表命令
root@kitploit:~
[blackarch ~ ]$ GoEnumerator project -h
Adds, Modify or Remove operations
Usage:
  GoEnumerator project [flags]
  GoEnumerator project [command]
Available Commands:
  addDomain    Add hostname or domain to a project IP/host
  addHost      Add new IP to a project or operation
  addOp        Add new operations/project name to database
  removeDomain Remove a domain from the list of domain names
  removeHost   Remove a HOST IP from a project or operation
  removeOp     Remove your operation or project from the database
  showDomains  Show domain names
  showHosts    Show all hosts for a project
  showOps      List all Ops and Projects
Flags:
  -h, --help   help for project
Global Flags:
      --config string   config file (default is $HOME/.GoEnumerator.yaml)
Use "GoEnumerator project [command] --help" for more information about a command.
  • 端口扫描选项
root@kitploit:~
[ blackarch ~ ]$ GoEnumerator portscan -h
Diferent types of port scan to select. For example:
Usage:
  GoEnumerator portscan [flags]
  GoEnumerator portscan [command]
Available Commands:
  getBanners  gets ports found on database and try's to get the banner of what is running
  showBanners Show saved banners for each host
  showPorts   Show ports
  tcpScan     Simple tcp port scan
Flags:
  -h, --help   help for portscan
Global Flags:
      --config string   config file (default is $HOME/.GoEnumerator.yaml)
Use "GoEnumerator portscan [command] --help" for more information about a command.
  • showBanners 选项
root@kitploit:~
 blackarch ~ ]$ GoEnumerator portscan showBanners -p cia
Using config file: /home/rek2/.GoEnumerator.yaml
Banners for Host: 104.236.237.78
-  80,Apache/2.4.18 (Ubuntu)
-  22,SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
-  443,Apache/2.4.18 (Ubuntu)
Banners for Host: 165.227.62.19
-  22,SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
-  443,nginx/1.10.3 (Ubuntu)
Banners for Host: 10.8.0.1
-  22,SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
  • 根据横幅搜索漏洞利用并获取 ID:
root@kitploit:~
GoEnumerator exploitDB search  -f 10 Nginx
Using config file: /home/rek2/.GoEnumerator.yaml
____________________________________________________
+ ID: 32277
+ Description: Nginx 1.4.0 (Generic Linux x64) - Remote Overflow
+ Type: linux_x86-64
+ https://www.exploit-db.com/exploits/32277
____________________________________________________
+ ID: 25775
+ Description: Nginx 1.3.9 < 1.4.0 - Chuncked Encoding Stack Buffer Overflow (Metasploit)
+ Type: linux
+ https://www.exploit-db.com/exploits/25775
____________________________________________________
+ ID: 40768
+ Description: Nginx (Debian Based Distros + Gentoo) - 'logrotate' Local Privilege Escalation
+ Type: linux
+ https://www.exploit-db.com/exploits/40768
____________________________________________________
+ ID: 9901
+ Description: Nginx 0.7.0 < 0.7.61 / 0.6.0 < 0.6.38 / 0.5.0 < 0.5.37 / 0.4.0 < 0.4.14 - Denial of Service (PoC)
+ Type: linux
+ https://www.exploit-db.com/exploits/9901
Showing entries 11-20 of 14. Completed in 299.778µs

从源码编译

  • 设置 Go 环境($GOPATH 等)。
  • 为 GNU/Linux 构建:
root@kitploit:~
make
  • 为 macOS/Darwin 构建:
root@kitploit:~
make darwin
  • 为 Windows 构建:
root@kitploit:~
make windows

如果你已经在上述任一操作系统上,只需运行 make

  • 要构建并安装,运行:
root@kitploit:~
make install

并确保你的 $GOPATH/bin 在 shell 的 $PATH 中

root@kitploit:~
export $PATH:$PATH:$PATH/bin

并将其添加到你的 ~/.bashrc 的 PATH 导出行中

灵感来源

  • ExploitDB 搜索功能灵感及代码示例来源:https://github.com/Zenithar/exploitdb
下载工具