If you’re new to Dradis or upgrading from an older (2.6.x, 2.5.x…) release, go ahead and download the full package from the downloads page.
However, if you already have a working install of Dradis 2.7.0 maybe you don’t want to run the Windows installer again, or wait until your distro prepares an updated version of the package (did you know that BackTrack 5 shipped with Dradis 2.7.0?). Here is how to get the latest 2.7.1 code up and running.
Go to your install location:
In Windows: c:\> cd %APPDATA%\dradis-2.7
In BackTrack: # cd /pentest/misc/dradis
Backup the old server folder: # mv server 2.7.0-server
Now you have a decision to make: upgrade to 2.7.1 or clone the Dradis repository so you can upgrade to 2.7.1 but also to any forthcoming releases (recommended)
Upgrading to 2.7.1
Download and uncompress the tarball for Dradis server 2.7.1 from GitHub:
Uncompress in the drads-2.7 folder renaming the extracted directory to just server.
Using git repository for easy upgrading
From the current folder, clone Dradis git repository and point it to the latest release:
# git clone https://github.com/dradis/dradisframework.git server # cd server # git checkout -b REL-2.7.1 REL-2.7.1 # cd ..
Reset the environment and run the server
# ./reset.sh # ./start.sh
If everything goes according to plan, you can now access Dradis on https://localhost:3004/ and in the top-right corner the version number will be 2.7.1.
We have decided to host our gem’s source code in GitHub (which we will be using in the future to host all our open-source contributions). Find the repository, documentation and install instructions in:
Future plans for the library include adding an option to submit new entries, so the guys at CIRT.net can keep their database updated with the latest additions.
Feel free to fork and submit pull requests. If you find the library useful or have suggestions for improvements, we will love to hear about them.
First, get a download link for the latest Dradis from http://dradisframework.org/downloads.html and get it: # wget http://downloads.sourceforge.net/dradis/dradis-v2.7.0.tar.bz2
Extract it: # tar -xvvjf dradis-v2.7.0.tar.bz2
Next we need to update the version of RubyGems installed in BT4: # gem -v 1.3.1 # gem update --system [...] # gem -v 1.7.2
And install the Bundler gem: # gem install bundler
There is only one missing prerequisite to ensure everything runs smoothly, the development bindings of the libxslt package. You can get them with:
# apt-get install libxslt-dev
Now we are ready to get things going: # cd dradis-2.7
# ./reset.sh Your Gemfile's dependencies could not be satisfied Install missing gems with `bundle install` Some Ruby gems are missing, do you want to install them now? [y] y
Ok then, I am going to run bundle install for you, then you should run this script again.
Fetching source index for http://rubygems.org/ Installing rake (0.8.7) Installing RedCloth (4.2.5) with native extensions Installing abstract (1.0.0) [...] Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
After all the dependencies are installed, we are ready to initialize the database and start the server. However, there is just one thing that have to be changed in the startup scripts.
Edit the last line of reset.sh to look like this:
bundle exec thor dradis:reset
Now we are ready, run the reset script again to generate the database: # ./reset.sh