redis漏洞复现遇到问题
../src/redis-cli CONFIG SET protected-mode no./src/redis-cli CONFIG GET protected-mode应该返回protected-mode nocd /root/桌面/redis/redis-7.0.11 ./src/redis-cliCONFIG SET enable-protected-configs yes CONFIG SET enable-debug-command yes# 1. 关闭旧进程 pkill -9 redis-server # 2. 用宽松参数启动 cd /root/桌面/redis/redis-7.0.11 ./src/redis-server --protected-mode no --enable-protected-configs yes --enable-debug-command yes # 3. 验证启动 ./src/redis-cli ping# 1. 杀掉当前进程 kill -9 2788 # 2. 确认已关闭 ps aux | grep redis-server | grep -v grep # 3. 进入 Redis 目录 cd /root/桌面/redis/redis-7.0.11 # 4. 用完整命令启动注意是完整路径 所有参数 ./src/redis-server --protected-mode no --enable-protected-configs yes --enable-debug-command yes # 5. 等待 2 秒 sleep 2 # 6. 验证查看实际生效的配置 ./src/redis-cli CONFIG GET enable-protected-configs1) enable-protected-configs 2) yes