Webwrap is a simple script that will use your web shell to simulate a terminal, and makes you gain speed.
- 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
)
Just replace your cmd field with "WRAP".
$ webwrap http://<LINK>/my_verycool_webshell.php?cmd=WRAP
$ 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 replacepython3
bypy
.
Please use Python 3, I don't know how it looks on Python 2.
curl -s https://raw.githubusercontent.com/mxrch/webwrap/master/install.sh | sudo sh
git clone https://github.com/mxrch/webwrap;
cd webwrap;
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.
git clone https://github.com/mxrch/webwrap;
cd webwrap;
py -m pip install -r requirements.txt
Thanks Hexabeast for the idea.
You can find his wrapper here : https://gist.github.com/hexabeast/fb6b5cf0cd4a51ca93fa300c9bb7a3e2