今天为大家分享一个黑客技术,小编在这里声明:本教程仅供参考,不赞成也不鼓励大家它方式入侵别人电脑和网络破坏。
RSPET (Reverse Shell and Post Exploitation Tool)
是一个基于Python的反连shell,并且具备后渗透阶段的一些功能。
实现功能
- 远程命令执行
- 流量加密(异或加密代替明文传输),使用443端口可以取得更好的效果【1】
- 内置了加密传输文件或二进制数据的功能
- 内置UDP洪泛攻击工具
- 内置UDP欺骗攻击工具【2】
- 管理多个或全部主机,控制多个连接的主机传输文件和UDP洪泛攻击。
- 模块化的代码设计,易于定制【3】
- 客户端脚本已经过测试,可以兼容Pyinstaller(可以转换成.exe)【4】
部署
- RSPET_server.py或RSPET_server_min.py运行在攻击机上,接收连接。
- RSPET_client.py或RSPET_client_min.py运行在目标机上,会初始化并发送连接请求,等待输入。
执行
服务端:
<pre style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; font-family: Consolas, Menlo, Courier, monospace; font-size: 16px; white-space: pre-wrap; position: relative; line-height: 1.5; color: rgb(153, 153, 153); margin: 1em 0px; padding: 12px 10px; background: rgb(244, 245, 246); border: 1px solid rgb(232, 232, 232); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">python RSPET_server.py (max_connections)
</pre>
max_connections如果为空,则默认为5.
控制端:
<pre style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; font-family: Consolas, Menlo, Courier, monospace; font-size: 16px; white-space: pre-wrap; position: relative; line-height: 1.5; color: rgb(153, 153, 153); margin: 1em 0px; padding: 12px 10px; background: rgb(244, 245, 246); border: 1px solid rgb(232, 232, 232); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">python RSPET_client.py server_ip
</pre>
可以根据个人需要进行调整
Linux发行版
包含RSPET的Linux发行版列表
<pre class="ql-align-justify" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; font-family: Consolas, Menlo, Courier, monospace; font-size: 16px; white-space: pre-wrap; position: relative; line-height: 1.5; color: rgb(153, 153, 153); margin: 1em 0px; padding: 12px 10px; background: rgb(244, 245, 246); border: 1px solid rgb(232, 232, 232); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">BlackArch Linux (2016.04.28版本中)
</pre>
声明:该软件供学习研究使用或作为一个POC。开发者不赞同和鼓励或以其它方式支持非授权的电脑入侵和网络破坏。