Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
GoEnumerator — ターゲットに対する通常の初期列挙手順のための、私の個人的なGOツール | Kitploit
ツール/GitLabGitLab/rek2/goenumerator
偵察エクスプロイトフレームワークポートスキャン脆弱性分析情報収集ペネトレーションテスト
GitLabrek2/goenumerator

GoEnumerator

ターゲットに対する通常の初期列挙手順のための、私の個人的なGOツール

リポジトリを見る
1137年前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
ウェブサイト

pipeline status

GoEnumeratorについて

  • GoEnumeratorは、楽しみのために書いているツールですが、自身の列挙作業にも使うために作成しています。そのため、CTFの列挙やプロフェッショナルなペネトレーションテストの初期段階を迅速化するための機能を追加し続ける予定です。また、IDSなどをトリガーしないようにするオプションも追加していきます。
  • なぜGoEnumeratorなのか?上記の理由に加え、データベースに書き込むツールを持ちたいと考えたからです。後でデータをエクスポートしたり、PostgreSQLのUIを使ってデータを整理したり、他のツール(今後作成予定のものも含む)に簡単にエクスポートできるようにするためです。

HOWTO

  • 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データベース用のネイティブドライバ LibreOfficeでPostgreSQLに接続する方法 データベースウィザードを使用してレポートや様々な便利なものを作成したり、HTMLにエクスポートしたり、独自のテンプレートでペネトレーションテストレポートを作成できます。

Bash補完

  • すべてのコマンドとサブコマンドでタブ/自動補完を使用するには、以下を実行してください:
root@kitploit:~
. <(GoEnumerator  completion)
  • Bashシェルで毎回補完を読み込むように設定するには、.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 <上で作成したユーザー名>
  • データベースシェルにアクセス
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
  • OSX/darwin用にビルド:
root@kitploit:~
make darwin
  • Windows用にビルド:
root@kitploit:~
make windows

これらのOSのいずれかで作業している場合は、make を実行するだけです。

  • ビルドしてインストールするには:
root@kitploit:~
make install

そして、$GOPATH/bin がシェルの $PATH に含まれていることを確認してください。

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

そして、それを ~/.bashrc のPATHエクスポート行に追加してください。

インスピレーション

  • ExploitDBの検索は、以下のコード例に触発されました:https://github.com/Zenithar/exploitdb
ツールをダウンロード