
Python exploit for CVE-2022-22963 (Spring4Shell) targeting Spring Cloud Function RCE. Automates reverse shell delivery via wget and bash one-liner execution.
这是 Spring4Shell (CVE-2022-22963) 的 Python 实现,影响运行 Spring Cloud Function <=3.1.6(3.1.x 版本)和 <=3.2.2(3.2.x 版本)的服务。
结合了多个网上公开的 POC
作者: Randall Banner
日期: 17/04/23
描述: 脚本会在当前目录创建 shell.sh,其中包含一个简单的 bash 反向 shell 单行命令。然后启动一个 Web 服务器,通过 wget 将其提供给受害目标(输出到 /dev/shm 文件夹),接着使 shell.sh 可执行,最后运行它。
在运行脚本之前,别忘了启动 Netcat!