Thursday, 23 October 2014

[GUIDE] How to install Weevely on Windows

Weevely v1.1
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.

 How to install?
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

2- Download weevely from following url.Extract it and enter in its folder through cmd and try to execute this by writing "" on command prompt, you will get an error.So lets fix this error and make this work on windows. Download

3- Now download python setuptools from following url and extract it. Download
4- Now press "WINDOWS Button + 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

6- Now run this command: 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 file and upper command will be modified like this

C:\Python27\python.exe 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