Wshlient - A Simple Tool To Interact With Web Shells And Command Injection Vulnerabilities
Wshlient 是一个简单灵活的 Web Shell 客户端工具,通过创建 HTTP 请求文件并指定命令注入位置即可实现 shell 操作。支持 Python 和 requests 库安装运行,并提供多种选项自定义行为。 2025-4-30 12:30:0 Author: www.kitploit.com(查看原文) 阅读量:11 收藏

Web Shell Client

Description & Demo

Wshlient is a web shell client designed to be pretty simple yet versatile. One just need to create a text file containing an HTTP request and inform where Wshlient inject the commands, then you can enjoy a shell.

In the case the above video does not works for you:

Installation

Out of python's included batteries Wshclient only uses requests. Just install it directly or using requirements.txt:

$ git clone https://github.com/gildasio/wshlient
$ cd wshlient
$ pip install -r requirements.txt
$ ./wshlient.py -h

Alternatively you can also create a symbolic link in your $PATH to use it directly anywhere in the system:

$ ln -s $PWD/wshlient.py /usr/local/bin/wshlient

Usage

$ ./wshlient.py -h
usage: wshlient.py [-h] [-d] [-i] [-ne] [-it INJECTION_TOKEN] [-st START_TOKEN] [-et END_TOKEN] req

positional arguments:
req File containing raw http request

options:
-h, --help show this help message and exit
-d, --debug Enable debug output
-i, --ifs Replaces whitespaces with $IFS
-ne, --no-url-encode Disable command URL encode
-it INJECTION_TOKEN, --injection-token INJECTION_TOKEN
Token to be replaced by commands (default: INJECT)
-st START_TOKEN, --start-token START_TOKEN
Token that marks the output beginning
-et END_TOKEN, --end-token END_TOKEN
Token that marks the output ending

Contributing

You can contribute to Wshlient by:

  • Using and sharing it :)
  • Firing a bug / issue
  • Suggesting interesting features
  • Coding

Feel free to do it, but keep in mind to keep it simple.

Wshlient - A Simple Tool To Interact With Web Shells And Command Injection Vulnerabilities Wshlient - A Simple Tool To Interact With Web Shells And Command Injection Vulnerabilities Reviewed by Zion3R on 8:30 AM Rating: 5


文章来源: http://www.kitploit.com/2025/04/wshlient-simple-tool-to-interact-with.html
如有侵权请联系:admin#unsafe.sh