Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mxrch/webwrap

🌯 Give me a web shell, I'll give you a terminal.
https://github.com/mxrch/webwrap

Last synced: 7 days ago
JSON representation

🌯 Give me a web shell, I'll give you a terminal.

Awesome Lists containing this project

README

        

![Delicious Wrap](https://files.catbox.moe/86gbaq.png)

# Description
Webwrap is a simple script that will use your web shell to simulate a terminal, and makes you gain speed.\



# Features

- Naviguate in the file system as if you were in it, using `cd`
- You can use ``&&``, ``|``, everything you like
- Browse your commands history and re-use them (not really a feature, it uses `rlwrap`)

# Usage
Just replace your cmd field with "WRAP".

#### With the quick install :
```bash
$ webwrap http:///my_verycool_webshell.php?cmd=WRAP
```
#### Not quick install :
```bash
$ rlwrap python3 webwrap.py http:///my_verycool_webshell.php?cmd=WRAP
```
- Just remove the `rlwrap` from the command if you didn't install it.
- On Windows, remove `rlwrap` and replace `python3` by `py`.

# Installation

*Please use Python 3, I don't know how it looks on Python 2.*

## Linux (Quick install)

```bash
curl -s https://raw.githubusercontent.com/mxrch/webwrap/master/install.sh | sudo sh
```

## Linux (normal install)
```bash
git clone https://github.com/mxrch/webwrap;
cd webwrap;
python3 -m pip install -r requirements.txt
```
*(Optional)* You can also install rlwrap :
```bash
sudo apt install rlwrap
```
It will give you the ability to reuse your commands through the commands history.

### Windows

```cmd
git clone https://github.com/mxrch/webwrap;
cd webwrap;
py -m pip install -r requirements.txt
```

****

# Credits

Thanks [Hexabeast](https://github.com/hexabeast) for the idea.\
You can find his wrapper here : https://gist.github.com/hexabeast/fb6b5cf0cd4a51ca93fa300c9bb7a3e2