JoelGMSec/PyShell

GitHub: JoelGMSec/PyShell

一款多平台 Python WebShell 工具,以极简的服务端代码提供跨语言、跨操作系统的交互式远程命令执行能力。

Stars: 320 | Forks: 61

PyShell

# PyShell **PyShell** 是一个多平台的 Python WebShell。该工具帮助你在 Web 服务器上获取一个类似 shell 的界面,以便进行远程访问。与其他 webshell 不同,该工具的主要目标是在服务器端使用尽可能少的代码,无论服务器使用的是何种语言或操作系统。 得益于此,你可以在 Windows 和 Linux 上使用不同类型的 shell(aspx、php、jsp、sh、py...),支持查看命令历史记录、上传和下载文件,甚至像使用标准 shell 一样在目录之间进行导航。 # 环境要求 - Python 3 - 安装 requirements.txt # 下载 建议克隆完整的代码库或下载 zip 文件。 你可以通过运行以下命令来完成此操作: ``` git clone https://github.com/JoelGMSec/PyShell ``` # 用法 ``` ./PyShell.py -h ██████ ▓██ ░██ ██████ ██░ ██ ▓█████ ██▓ ██▓ ▓██░ ██▒██░ ██▒██ ▒ ▓██ ██▒▓██ ▓██▒ ▓██▒ ▓██░ ██▒ ██ ██░░ ▓███ ▒██████░▒████ ▒██░ ▒██░ ▒██████ ▒ ░████▓░ ▒ ██▒░██ ░██ ▒██ ▒██░ ▒██░ ▒██▒ ░ ░ ░ ██▒▓░▒██████▒▒░██▒░██▓░█████▒░██████▒░██████▒ ▒██░ ░ ░ ██▒▒▒ ▒ ▒▓▒ ▒ ░ ▒ ░░▒░▒░░ ▒░ ░░ ▒░▓ ░░ ▒░▓ ░ ░▒ ░ ▓██ ░▒░ ░ ░▒ ░ ▒ ░ ░ ░ ░ ░ ░░ ░ ▒ ░░ ░ ▒ ░ ░░ ░ ▒ ▒ ░░ ░ ░ ░ ░ ░░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ -------------- by @JoelGMSec & @3v4Si0N --------------- usage: pyshell.py [-h] [-a AUTH] [-c COOKIES] [-p PARAM] [-pi] [-ifs] [-su] [-ps] url method positional arguments: url Webshell URL method HTTP Method to execute command (GET or POST) optional arguments: -h, --help show this help message and exit -a AUTH, --auth AUTH Authorization header to use on each request -c COOKIES, --cookies COOKIES Cookie header to use on each request -p PARAM, --param PARAM Parameter to use with custom WebShell -pi, --pipe Pipe all commands after parameter -ifs, --ifs Replace all white spaces with Internal Field Separator -su, --sudo Sudo command execution (Only on Linux hosts) -ps, --PowerShell PowerShell command execution (Only on Windows hosts) ``` ### 详细的使用指南可以在以下链接中找到: https://darkbyte.net/pyshell-multiplatform-python-webshell # 许可证 本项目基于 GNU 3.0 许可证授权 - 有关更多详细信息,请参阅 LICENSE 文件。 # 联系方式 本软件不提供任何形式的保证。其使用仅限于教育环境和/或在获得客户相应同意的安全审计中。我对其滥用或可能由此造成的任何损害概不负责。 了解更多信息,你可以在 Twitter 上关注我们:[@JoelGMSec](https://twitter.com/JoelGMSec)、[@3v4si0n](https://twitter.com/3v4si0n),以及访问我的博客 [darkbyte.net](https://darkbyte.net)。 # 支持 你可以请我喝杯咖啡来支持我的工作: [buymeacoffe](https://www.buymeacoffee.com/joelgmsec)
标签:AI合规, Cutter, WebShell, 后门利用, 远程命令执行