Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mxrch/webwrap
- Owner: mxrch
- Created: 2020-07-01T18:44:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-29T00:20:20.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T15:04:47.168Z (20 days ago)
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 181
- Watchers: 7
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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