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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
MANSPIDER — ネットワーク全体をクロールし、SMB共有上にある juicy なファイルを探します。ファイル名またはファイル内容を検索 - 正規表現対応! | Kitploit
ツール/GitHubGitHub/blacklanternsecurity/manspider
OSINT (オープンソースインテリジェンス)データ流出情報収集ネットワークセキュリティペネトレーションテスト
GitHubblacklanternsecurity/manspider

MANSPIDER

ネットワーク全体をクロールし、SMB共有上にある juicy なファイルを探します。ファイル名またはファイル内容を検索 - 正規表現対応!

リポジトリを見る
1.4k1614ヶ月前Kitploit レビュー済み

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有

MANSPIDER

SMB共有をクロールして機密情報を探します。ファイル内容検索 + 正規表現に対応!


v2.0の新機能

Manspider 2.0が登場! 大幅な改良が加わりました:

  • 新しく改良されたテキスト抽出 - Kreuzberg を採用し、PDF、DOCX、XLSX、PPTX、OCR対応画像など、さらに多くのフォーマットに対応
  • モダンなパッケージ管理 - uv により、より高速で信頼性の高いインストールを実現
  • Python 3.14対応 - 最新のPythonリリースに対応
  • 日付フィルタリング - --modified-after と --modified-before で更新日時によるファイル検索
  • 包括的な単体テスト - 信頼性と安定性の向上

manspider

対応ファイル形式:

  • PDF
  • DOCX
  • XLSX
  • PPTX
  • 任意のテキストベース形式
  • そしてさらに多数!!

MANSPIDERは、すべての対象システム上のすべての共有をクロールします。提供された認証情報が機能しない場合は、「guest」にフォールバックし、さらにnullセッションにフォールバックします。

manspider

インストール

uvx によるクイック実行(推奨)

root@kitploit:~
# Run directly without installing
uvx --from git+https://github.com/blacklanternsecurity/MANSPIDER manspider --help

uv でインストール

root@kitploit:~
# Install globally
uv tool install git+https://github.com/blacklanternsecurity/MANSPIDER

# Run
manspider --help

pipx でインストール

root@kitploit:~
pipx install git+https://github.com/blacklanternsecurity/MANSPIDER

オプションの依存関係

Manspiderは、さまざまなファイル形式からのテキスト抽出にKreuzbergを使用しています。一部の形式では追加のシステム依存関係が必要です:

root@kitploit:~
# For OCR text extraction from images (PNG, JPEG, etc.)
sudo apt install tesseract-ocr

# For legacy Microsoft Office format support (.doc, .xls)
# Kreuzberg uses LibreOffice for conversion
sudo apt install libreoffice

これらの依存関係がない場合: ManspiderはPDF、DOCX、XLSX、PPTX、テキストファイルでは動作しますが、画像OCRとレガシーOffice形式はスキップします。

インストール(Docker)

root@kitploit:~
docker run --rm -v ./manspider:/root/.manspider blacklanternsecurity/manspider --help

また、manspider.sh というヘルパースクリプトも用意されており、manspiderの loot および logs ディレクトリのボリュームを自動的にマウントするため、より便利に実行できます:

root@kitploit:~
./manspider.sh --help

例1:認証情報を含む可能性のあるファイル名をネットワークから検索

注:一致したファイルは自動的に $HOME/.manspider/loot にダウンロードされます!(-n で無効化)

root@kitploit:~
$ manspider 192.168.0.0/24 -f passw user admin account network login logon cred -d evilcorp -u bob -p Passw0rd

例2:ファイル名に「password」を含むスプレッドシートを検索

root@kitploit:~
$ manspider share.evilcorp.local -f passw -e xlsx csv -d evilcorp -u bob -p Passw0rd

例3:パスワードを含むドキュメントを検索

root@kitploit:~
$ manspider share.evilcorp.local -c passw -e xlsx csv docx pdf -d evilcorp -u bob -p Passw0rd

例4:興味深いファイル拡張子を検索

root@kitploit:~
$ manspider share.evilcorp.local -e bat com vbs ps1 psd1 psm1 pem key rsa pub reg pfx cfg conf config vmdk vhd vdi dit -d evilcorp -u bob -p Passw0rd

例5:財務関連ファイルを検索

この例では、財務関連と思われるディレクトリ名を対象に、5つ以上の連続した数字を含むファイル名(例:000202006.EFT)を検索します。

root@kitploit:~
$ manspider share.evilcorp.local --dirnames bank financ payable payment reconcil remit voucher vendor eft swift -f '[0-9]{5,}' -d evilcorp -u bob -p Passw0rd

例6:ファイル名でSSH鍵を検索

root@kitploit:~
$ manspider share.evilcorp.local -e ppk rsa pem ssh rsa -o -f id_rsa id_dsa id_ed25519 -d evilcorp -u bob -p Passw0rd

例7:内容でSSH鍵を検索

root@kitploit:~
$ manspider share.evilcorp.local -e '' -c 'BEGIN .{1,10} PRIVATE KEY' -d evilcorp -u bob -p Passw0rd

例8:パスワードマネージャーファイルを検索

root@kitploit:~
# .kdbx - KeePass Password Database (KeePass, KeePassXC)
# .kdb - KeePass Classic Database (KeePass 1.x)
# .1pif - 1Password Interchange Format (1Password)
# .agilekeychain - Agile Keychain Format (1Password, deprecated)
# .opvault - OPVault Format (1Password)
# .lpd - LastPass Data File (LastPass)
# .dashlane - Dashlane Data File (Dashlane)
# .psafe3 - Password Safe Database (Password Safe)
# .enpass - Enpass Password Manager Data File (Enpass)
# .bwdb - Bitwarden Database (Bitwarden)
# .msecure - mSecure Password Manager Data File (mSecure)
# .stickypass - Sticky Password Data File (Sticky Password)
# .pwm - Password Memory Data File (Password Memory)
# .rdb - RoboForm Data File (RoboForm)
# .safe - SafeInCloud Password Manager Data File (SafeInCloud)
# .zps - Zoho Vault Encrypted Data File (Zoho Vault)
# .pmvault - SplashID Safe Data File (SplashID Safe)
# .mywallet - MyWallet Password Manager Data File (MyWallet)
# .jpass - JPass Password Manager Data File (JPass)
# .pwmdb - Universal Password Manager Database (Universal Password Manager)
$ manspider share.evilcorp.local -e kdbx kdb 1pif agilekeychain opvault lpd dashlane psafe3 enpass bwdb msecure stickypass pwm rdb safe zps pmvault mywallet jpass pwmdb -d evilcorp -u bob -p Passw0rd

例9:証明書を検索

root@kitploit:~
$ manspider share.evilcorp.local -e pfx p12 pkcs12 pem key crt cer csr jks keystore key keys der -d evilcorp -u bob -p Passw0rd

例10:最近変更されたファイルを検索

root@kitploit:~
$ manspider share.evilcorp.local -e docx xlsx pdf --modified-after 2026-01-01 -d evilcorp -u bob -p Passw0rd

使用上のヒント #1:

Manspiderは複数のインスタンスを同時に実行できます。これは、すでに実行中のインスタンスがあるときに、ダウンロード済みのファイルを検索したい場合(grep -R に類似)に便利です。これを行うには、ターゲットとしてキーワード loot を指定します。これにより、$HOME/.manspider/loot 内のダウンロード済みファイルが検索されます。

使用上のヒント #2:

適切なデフォルト設定により、単一のターゲットにスタックするなどの望ましくない状況を防ぎます。これらはすべて上書き可能です:

  • デフォルトのスパイダー深度: 10(-m で上書き)
  • デフォルトの最大ファイルサイズ: 10MB(-s で上書き)
  • デフォルトのスレッド数: 5(-t で上書き)
  • 除外される共有: C$、IPC$、ADMIN$、PRINT$(--exclude-sharenames で上書き)

使用上のヒント #3:

Manspiderは以下のターゲットの任意の組み合わせを受け付けます:

  • IPアドレス
  • ホスト名
  • サブネット(CIDR形式)
  • 上記のいずれかを含むファイル
  • ファイルを含むローカルフォルダ

例えば、以下のいずれかまたはすべてを指定できます:

  • 192.168.1.250
  • share.evilcorp.local
  • 192.168.1.0/24
  • smb_hosts.txt
  • loot(ダウンロード済みファイルを検索)
  • /mnt/share(ディレクトリを再帰的に検索)
    • 注:ローカルファイルを検索する場合は、個別のファイルではなくディレクトリを指定する必要があります

使用方法:

root@kitploit:~
usage: manspider [-h] [-u USERNAME] [-p PASSWORD] [-d DOMAIN] [-l LOOT_DIR] [-m MAXDEPTH] [-H HASH] [-k] [-aesKey HEX] [-dc-ip IP] [-t THREADS] [-f REGEX [REGEX ...]] [-e EXT [EXT ...]]
                 [--exclude-extensions EXT [EXT ...]] [-c REGEX [REGEX ...]] [--sharenames SHARE [SHARE ...]] [--exclude-sharenames [SHARE ...]] [--dirnames DIR [DIR ...]]
                 [--exclude-dirnames DIR [DIR ...]] [-q] [-n] [-mfail INT] [-o] [-s SIZE] [-v]
                 targets [targets ...]

Scan for juicy data on SMB shares. Matching files and logs are stored in $HOME/.manspider. All filters are case-insensitive.

positional arguments:
  targets               IPs, Hostnames, CIDR ranges, or files containing targets to spider (NOTE: local searching also supported, specify directory name or keyword "loot" to search
                        downloaded files)

options:
  -h, --help            show this help message and exit
  -u, --username USERNAME
                        username for authentication
  -p, --password PASSWORD
                        password for authentication
  -d, --domain DOMAIN   domain for authentication
  -l, --loot-dir LOOT_DIR
                        loot directory (default ~/.manspider/)
  -m, --maxdepth MAXDEPTH
                        maximum depth to spider (default: 10)
  -H, --hash HASH       NTLM hash for authentication
  -k, --kerberos        Use Kerberos authentication. Grabs credentials from ccache file (KRB5CCNAME) based on target parameters
  -aesKey, --aes-key HEX
                        AES key to use for Kerberos Authentication (128 or 256 bits)
  -dc-ip, --dc-ip IP    IP Address of the domain controller. If omitted it will use the domain part (FQDN) specified in the target parameter
  -t, --threads THREADS
                        concurrent threads (default: 5)
  -f, --filenames REGEX [REGEX ...]
                        filter filenames using regex (space-separated)
  -e, --extensions EXT [EXT ...]
                        only show filenames with these extensions (space-separated, e.g. `docx xlsx` for only word & excel docs)
  --exclude-extensions EXT [EXT ...]
                        ignore files with these extensions
  -c, --content REGEX [REGEX ...]
                        search for file content using regex (multiple supported)
  --sharenames SHARE [SHARE ...]
                        only search shares with these names (multiple supported)
  --exclude-sharenames [SHARE ...]
                        don't search shares with these names (multiple supported)
  --dirnames DIR [DIR ...]
                        only search directories containing these strings (multiple supported)
  --exclude-dirnames DIR [DIR ...]
                        don't search directories containing these strings (multiple supported)
  -q, --quiet           don't display matching file content
  -n, --no-download     don't download matching files
  -mfail, --max-failed-logons INT
                        limit failed logons
  -o, --or-logic        use OR logic instead of AND (files are downloaded if filename OR extension OR content match)
  -s, --max-filesize SIZE
                        don't retrieve files over this size, e.g. "500K" or ".5M" (default: 10M)
  -v, --verbose         show debugging messages
  --modified-after DATE
                        only show files modified after this date (format: YYYY-MM-DD)
  --modified-before DATE
                        only show files modified before this date (format: YYYY-MM-DD)

開発

テスト

注意: 完全なテストスイートを実行するには、上記のオプションのシステム依存関係(tesseract-ocr と libreoffice)が必要です。

root@kitploit:~
# Run tests
uv run pytest tests/

リンティング

このプロジェクトは、リンティングとフォーマットに ruff を使用しています。

root@kitploit:~
# Run linter
uv run ruff check .

# Run linter with auto-fix
uv run ruff check --fix .

# Run formatter
uv run ruff format .
ツールをダウンロード