仅用于道德使用,不允许任何有害或恶意活动。风险自负。
CVE-2024-22263:Spring Cloud Dataflow 任意文件写入
██████╗██╗ ██╗███████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗
██╔════╝██║ ██║██╔════╝ ╚════██╗██╔═████╗╚════██╗██║ ██║ ╚════██╗╚════██╗╚════██╗██╔════╝ ╚════██╗
██║ ██║ ██║█████╗█████╗ █████╔╝██║██╔██║ █████╔╝███████║█████╗ █████╔╝ █████╔╝ █████╔╝███████╗ █████╔╝
██║ ╚██╗ ██╔╝██╔══╝╚════╝██╔═══╝ ████╔╝██║██╔═══╝ ╚════██║╚════╝██╔═══╝ ██╔═══╝ ██╔═══╝ ██╔═══██╗ ╚═══██╗
╚██████╗ ╚████╔╝ ███████╗ ███████╗╚██████╔╝███████╗ ██║ ███████╗███████╗███████╗╚██████╔╝██████╔╝
╚═════╝ ╚═══╝ ╚══════╝ ╚══════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝
By: SecureLayer7 (Zeyad Azima)
https://github.com/securelayer7/CVE-2024-22263_Scanner
usage: CVE-2024-22263.py [-h] [-t TARGET] [-p PORT] [-r REPONAME] [-n PACKAGENAME] [-v VERSION] [-f FILE]
上传一个包到服务器。
optional arguments:
-h, --help 显示帮助信息并退出
-t TARGET, --target TARGET
要扫描的目标(例如 http://192.168.1.1)。
-p PORT, --port PORT 目标的端口(默认:80)。
-r REPONAME, --repoName REPONAME
仓库名称(默认:local)。
-n PACKAGENAME, --packageName PACKAGENAME
包的名称(默认:../../../poc)。
-v VERSION, --version VERSION
包的版本(默认:1.0.0)。
-f FILE, --file FILE 包含目标列表的文件,每行格式为 "http://target,port"。
-t 或 --target: 指定目标服务器 URL(例如 http://192.168.1.1)。此选项用于扫描单个目标。
-p 或 --port: 指定目标服务器的端口(默认:80)。使用此选项设置目标服务器的特定端口。
-r 或 --repoName: 设置要上传包的仓库名称(默认:local)。
-n 或 --packageName: 设置包的名称(默认:../../../poc)。包名是您要写入文件的目标路径。
-v 或 --version: 设置包的版本(默认:)。
要扫描单个目标并指定端口:
python3 scanner.py -t http://192.168.1.1 -p 7577
要扫描多个目标,可以使用文件:
python3 scanner.py -f targets.txt
targets.txt 文件应包含以下格式的行:
http://192.168.1.1,7577
http://192.168.1.2,8080
自定义仓库名称、包版本和包名:包名是您要写入文件的目标路径。
python3 scanner.py -t http://192.168.1.1 -p 7577 -r customRepo -n customPackage -v 2.0.0

1.0.0-f 或 --file: 指定包含目标列表的文件。文件中的每一行应遵循格式 http://target,port。使用此选项从文件中扫描多个目标。