Skip to content

Get a stable shell using the web port througth a command injection

Notifications You must be signed in to change notification settings

Ayoub-2/RCE-webshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this project

This tool helps you turn an rce throught url parameter to turn into an interactive shell using python

Installation

$ git clone https://github.com/Ayoub-2/RCE-webshell.git
$ cd RCE-webshell
$ pip install -r requirements
$ python rce.py --help

to set up a lab :

# on linux
$ cd docker-example
$ chmod +x build.sh
$ ./build.sh 
# on windows Powershell
$ cd docker-example
$ ./build.ps1

Manual

$ python .\rce.py -h

 /$$$$$$$   /$$$$$$  /$$$$$$$$ /$$   /$$                /$$        /$$$$$$
| $$__  $$ /$$__  $$| $$_____/|__/  | $$              /$$$$       /$$$_  $$
| $$  \ $$| $$  \__/| $$       /$$ /$$$$$$ /$$    /$$|_  $$      | $$$$\ $$
| $$$$$$$/| $$      | $$$$$   | $$|_  $$_/|  $$  /$$/  | $$      | $$ $$ $$
| $$__  $$| $$      | $$__/   | $$  | $$   \  $$/$$/   | $$      | $$\ $$$$
| $$  \ $$| $$    $$| $$      | $$  | $$ /$$\  $$$/    | $$      | $$ \ $$$
| $$  | $$|  $$$$$$/| $$$$$$$$| $$  |  $$$$/ \  $/    /$$$$$$ /$$|  $$$$$$/
|__/  |__/ \______/ |________/|__/   \___/    \_/    |______/|__/ \______/ by:ayoub-2

usage: RCEit [-p [param]] [-x [path]] [-h] [url]

RCE to web Shell

positional arguments:
  url                   Url of the target

optional arguments:
  -p [param], --parametre [param]
                        parametre leading to rce , defaull cmd
  -x [path], --xpath [path]
                        The xpath including the result of a command
  -h, --help            show this help message and exit

Thanks :

erseco

About

Get a stable shell using the web port througth a command injection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published