Weevely is a stealth PHP web shell that provides a telnet or netcat type console and let you execute command remotely.
It is an essential tool for web application post exploitation, and can be used as stealth backdoor or as a web shell to manage legit web accounts, even free hosted ones. It is a built-in tool in backtrack 5 and easy to install and use in linux but in this tutorial i will show you how to use this tool on Windows Platform.

So follow me step by step:

1- Download python interpreter tool which will make your computer capable of running Python script.I m using python2.7.5 on machine, so i would recommend you to use python2.7.5 too.If you have other version then its fine too. Download python windows installer from following url and install it on your windows machine.
Download Link: http://www.python.org/download/releases/2.7.5/ 

2- Download weevely from following url.Extract it and enter in its folder through cmd and try to execute this by writing "weevely.py" on command prompt, you will get an error.So lets fix this error and make this work on windows.
Download Link : https://github.com/epinna/Weevely/archive/v1.1.tar.gz

3- Now download python setuptools from following url and extract it.
Download Link: https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.8.tar.gz

4- Now press "CTRL + R" , it will open windows run box for you.There type cmd and press enter.Windows cmd will open before you.

5- Now use cd command to enter to your setup-tools directory i.e.

cd setuptools-0.9.8
Now your are inside setup-tools directory.
6- Now run this command:
setup.py install
Note: sometimes after python interpreter installation, windows do not integrate your .py files with python interpreter.So in such scenario, you can give path of python interpreter to execute setup.py file and upper command will be modified like this.
C:\Python27\python.exe setup.py install
7- It will install python setup-tools for and a directory named "Script" will be created in your python installation directory.For default installation path, this is newly created directory C:\Python27\Scripts.
8- Now enter in "C:\Python27\Scripts" directory and run easy_install.exe to install pip.As i did below.
cd C:\Python27\Scripts
easy_install.exe pip
9- Now inside the same directory, install these two pyreadline and pyyaml libraries with pip.
pip install pyreadline pyyaml
10- Now everything is ready, just enter in weevely directory and execute it :)
weevely.py
If you feel any trouble while following this tutorial, u may ask me. I am looking forward to your feed-backs.Thanks

Post a Comment

 
Top
Google+