/ Command-line Tools

A simple script that will use your web shell to simulate a terminal

A simple script that will use your web shell to simulate a terminal

Webwrap

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

mxrch-webwrap

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 :

$ webwrap http://<LINK>/my_verycool_webshell.php?cmd=WRAP

Not quick install :

$ rlwrap python3 webwrap.py http://<LINK>/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 python.

Installation

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

Linux (Quick install)

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

Linux (normal install)

git clone https://github.com/mxrch/webwrap;
cd webwrap;
sudo python3 -m pip install -r requirements.txt

(Optional) You can also install rlwrap :

sudo apt install rlwrap

It will give you the ability to reuse your commands through the commands history.

Windows

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

GitHub

Comments