Webshell-Sniper 使用教程

Webshell-Sniper 使用教程

Webshell-Sniper:hammer: Manage your website via terminal项目地址:https://gitcode.com/gh_mirrors/we/Webshell-Sniper

项目介绍

Webshell-Sniper 是一款由 Python 编写的 webshell 管理器,支持文件管理、命令执行、数据库管理、端口扫描、反弹 Shell 等功能。该项目由王一航开发,但目前已停止更新。项目地址为:https://github.com/WangYihang/Webshell-Sniper

项目快速启动

安装

首先,克隆项目到本地:

git clone https://github.com/WangYihang/Webshell-Sniper.git

进入项目目录:

cd Webshell-Sniper

安装所需的依赖:

pip install -r requirements.txt

使用示例

以下是一个简单的使用示例:

python webshell-sniper.py http://127.0.0.1/c.php POST c

应用案例和最佳实践

文件管理

Webshell-Sniper 可以用于远程管理服务器上的文件,包括上传、下载、删除等操作。例如,上传一个文件到服务器:

python webshell-sniper.py http://127.0.0.1/c.php POST c --upload local_file.txt remote_file.txt

命令执行

通过 Webshell-Sniper 可以在远程服务器上执行命令,例如查看当前目录下的文件:

python webshell-sniper.py http://127.0.0.1/c.php POST c --exec "ls -la"

数据库管理

Webshell-Sniper 支持数据库管理功能,可以用于连接和操作远程数据库。例如,连接到 MySQL 数据库并执行查询:

python webshell-sniper.py http://127.0.0.1/c.php POST c --db mysql --host localhost --user root --password root --query "SHOW DATABASES;"

典型生态项目

Metasploit

Metasploit 虽不是一款 Webshell 网站管理工具,但已具备文件管理、命令执行等功能,支持 ASPX、PHP、JSP 等脚本类型。项目地址:https://github.com/rapid7/metasploit-framework

PhpSploit

PhpSploit 是一个由 Python 编写的后渗透利用框架,支持在 Win/Linux/Mac 等平台执行,对 HTTP 头数据进行混淆处理,并利用小型后门实现隐蔽通信。项目地址:https://github.com/nil0x42/phpsploit

SharPyShell

SharPyShell 是一个由 Python 编写的后渗透框架,用于 C# Web 应用程序的小型混淆版 ASP.NET WebShell,仅支持在 .NET Framework >= 2.0 上运行。项目地址:https://github.com/antonioCoco/SharPyShell

以上是 Webshell-Sniper 的使用教程,希望能帮助您快速上手并了解其应用场景和生态项目。

Webshell-Sniper:hammer: Manage your website via terminal项目地址:https://gitcode.com/gh_mirrors/we/Webshell-Sniper

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

宗隆裙

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值