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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
pymultitor — PyMultitor - Python マルチスレッド Tor プロキシ | Kitploit
ツール/GitHubGitHub/realgam3/pymultitor
OSINT (オープンソースインテリジェンス)IDS/IPS回避WAFバイパスウェブセキュリティペネトレーションテストレッドチーミング
GitHubrealgam3/pymultitor

pymultitor

PyMultitor - Python マルチスレッド Tor プロキシ

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

人気

すべて見る →

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

すべてのツールを探索

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

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

PyMultiTor

PyPI version Downloads PyPI - Python Version

Python マルチスレッド Tor プロキシ。
同時に2つの異なる場所にいたいと思ったことはありませんか?
自問したとき、頭の中でこのソリューションを開発し始めました。
ペネトレーションテストを実行中に、「攻撃」IP をブロックするセキュリティデバイスによる問題がよく発生します。
これには本当にイライラさせられたので、この問題を解決するスクリプトを作成しました。
多数の IP アドレスを使って攻撃を行うことで、特に Web アプリケーションファイアウォールのバイパス、ブルートフォース攻撃などを試みる場合、より良い結果が保証されます。

[Blackhat Asia] https://www.blackhat.com/asia-17/arsenal.html#pymultitor
[Owasp-IL Presentation] https://www.owasp.org/images/3/3d/OWASPIL-2016-02-02_PyMultiTor_TomerZait.pdf
[DigitalWhisper Article (ヘブライ語)] http://www.digitalwhisper.co.il/files/Zines/0x2E/DW46-3-PyMultitor.pdf

Logo

インストール

前提条件

  • Python 3.10+。
  • mitmproxy (https://mitmproxy.org/)。
  • tor。
    • Ubuntu / Kali の場合、sudo apt install -y tor
    • Centos の場合、sudo yum install -y tor
    • Fedora の場合、sudo dnf install -y tor
    • Windows の場合、
      • tor expert bundle をダウンロード: https://www.torproject.org/download/tor/
      • tor を環境変数 PATH に追加: {tor-win32-*_path}\Tor
      • tor.exe のパスを覚えておき、pymultitor で --tor-cmd 引数を使用してください(例: pymultitor --tor-cmd "c:\Pentest\Web\tor-win32-0.2.9.9\Tor\tor.exe")
    • MacOS の場合、brew install tor

pip からインストール

root@kitploit:~
pip3 install pymultitor

Docker からインストール

root@kitploit:~
docker pull realgam3/pymultitor

ソースコードからインストール

root@kitploit:~
git clone https://github.com/realgam3/pymultitor.git
cd pymultitor

# Install python dependencies.
# Depending on your setup, one or both of these may require sudo.
pip3 install -r requirements.txt
python3 setup.py install

# Confirm that everything works
pymultitor --help

インストールに関するバグ報告は歓迎します!

使い方

基本的な使い方

  1. pymultitor --on-string "Your IP Address Blocked" を実行します。
  2. スクリプトでプロキシ (http://127.0.0.1:8080) を使用します。
    応答コンテンツに文字列 Your IP Address Blocked が含まれている場合、別の IP アドレスから再送信されます。

Docker での使い方

  1. docker run --rm -p 8080:8080 realgam3/pymultitor --on-string "Your IP Address Blocked" を実行します。
  2. スクリプトでプロキシ (http://127.0.0.1:8080) を使用します。
    応答コンテンツに文字列 Your IP Address Blocked が含まれている場合、別の IP アドレスから再送信されます。

API 使用法

PyMultiTor は、プロキシ ID を管理するための REST API を提供します。API を使用すると、必要に応じてプロキシ ID を変更できます。

認証

API は Bearer トークンによる認証が必要です。トークンは以下の2つの方法で設定できます。

  1. 環境変数: PYMULTITOR_TOKEN 環境変数を設定します。

    root@kitploit:~
    export PYMULTITOR_TOKEN="your-secret-token-here"
    

    注意: PYMULTITOR_TOKEN が設定されていない場合、PyMultiTor はランダムなトークンを自動生成します。

  2. コマンドライン: PyMultiTor の起動時:

    root@kitploit:~
    pymultitor
    

エンドポイント

ID 変更

  • URL: /identity
  • Method: POST

使用例:

root@kitploit:~
curl http://pymultitor/identity -X POST \
  --header "Proxy-Authorization: Bearer {Token}" \
  --proxy http://localhost:8080

ステータス

  • URL: /status
  • Method: GET

使用例:

root@kitploit:~
curl http://pymultitor/status \
  --header "Proxy-Authorization: Bearer {Token}" \
  --proxy http://localhost:8080

注意: {Token} は実際の認証トークンに置き換えてください。

コマンドライン引数

root@kitploit:~
pymultitor --help
root@kitploit:~
usage: pymultitor.py [-h] [-v] [-lh LISTEN_HOST] [-lp LISTEN_PORT] [-s] [-a AUTH] [-i] [-d] [-p PROCESSES] [-c CMD] [-e CONFIG] [-t TIMEOUT] [-r TRIES]
                     [--request-timeout REQUEST_TIMEOUT] [--on-count ON_COUNT] [--on-string ON_STRING] [--on-regex ON_REGEX] [--on-rst] [--on-status-code [ON_STATUS_CODE ...]]
                     [--on-timeout]

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -lh, --host LISTEN_HOST
                        proxy listen host. (default: 127.0.0.1)
  -lp, --port LISTEN_PORT
                        proxy listen port (default: 8080)
  -s, --socks           use as socks proxy (not http proxy) (default: False)
  -a, --auth AUTH       set proxy authentication (format: 'username:pass') (default: )
  -i, --insecure        insecure ssl (default: False)
  -d, --debug           Debug Log. (default: False)
  -p, --tor-processes PROCESSES
                        number of tor processes in the cycle (default: 2)
  -c, --tor-cmd CMD     tor cmd (executable path + arguments) (default: tor)
  -e, --tor-config CONFIG
                        tor extended json configuration (default: {})
  -t, --tor-timeout TIMEOUT
                        timeout in seconds for starting a tor instance; 0 disables timeout (default: 90)
  -r, --tor-tries TRIES
                        number tries to start a tor instance before it fails (default: 5)
  --request-timeout REQUEST_TIMEOUT
                        timeout in seconds for http requests; 0 disables timeout (default: 0)
  --on-count ON_COUNT   change ip every x requests (resources also counted) (default: 0)
  --on-string ON_STRING
                        change ip when string found in the response content (default: )
  --on-regex ON_REGEX   change ip when regex found in The response content (default: )
  --on-rst              change ip when connection closed with tcp rst (default: False)
  --on-status-code [ON_STATUS_CODE ...]
                        change ip when one of the specified status codes is returned (default: [])
  --on-timeout          change ip when request times out (default: False)
ツールをダウンロード