• home
  • dradis framework guides

Running Dradis inside Metasploit’s Cygwin

After reading this guide, you will be able to:

  • Run Dradis inside your existing Metasploit Cygwin installation.
  • Keep your Dradis installation updated with the latest committed to the repo.

If you already have Metasploit installed in your Windows environment, adding Dradis to it is quite easy.

1 Install the current development branch

For this tutorial, we are going to use the latest version from Dradis’ git repository.

Metasploit’s Cygwin environment already comes with all the dependencies needed to run Dradis, so getting it up and running will be very easy.

You need to open the Cygwin shell and type a few instructions. It can be found in C:\Program Files\Metasploit\Framework3\shell.bat:

$ cd /
$ mkdir dradis-git
$ cd dradis-git/
$ git clone https://github.com/dradis/dradisframework.git server

Then download the verify, reset and start scripts to your dradis-git/ folder:

$ wget https://raw.githubusercontent.com/dradis/meta/master/verify.sh
$ wget https://raw.githubusercontent.com/dradis/meta/master/reset.sh
$ wget https://raw.githubusercontent.com/dradis/meta/master/start.sh
$ chmod +x *.sh
$ ./verify.sh
// follow instructions / install dependencies
$ ./reset.sh

Once the environment is ready, you can start the server with:

$ ./start.sh

To keep your Dradis install up to date it is enough to run git pull every now and then inside the server/ folder.

2 Installing a released version of Dradis

If instead of the latest development master you would rather use one of the released versions, go to the Download page, get the latest package and uncompress it inside your Metasploit’s root directory and run:

$ ./verify.sh
$ ./reset.sh
$ ./start.sh