FAQ: Frequently Asked Questions

If your answer is not here and you have gone through the documentation and the forums and nothing really helped, send your question to the mailing lists, you will get your answer, and we will improve this page.

  1. How do you add other users to the login page?
  2. I am getting a '[error] Failed with 406 Not Acceptable' error in the GUI
  3. How do I export all my notes into a plain text file?
  4. By default the server starts in 127.0.0.1:3004. How can I make it listen on a different interface/port number?

 

How do you add other users to the login page?

There is nothing such as users in Dradis (at least in the traditional sense of users with their passwords), there is only a password, a shared secret between all the users accessing a given instance of Dradis (i.e. the team).

So when you first run the server it will prompt you to change The Password. Once that password is changed, all the users can log in by choosing a username and using The Password.

Once the assessment is completed, backup the database file (./server/db/production.sqlite3) to a safe location and run: reset.sh (reset.bat if in Windows) in the Dradis folder to start with a fresh copy of the database.

Neither the password or your plugin configuration will be lost after reset. However, if you want to change your password, at the moment you have to do it in a few steps:

$ cd ~/dradis-2.7/server
$ bundle exec rails console production
$ irb> Configuration.find_by_name('password').update_attribute(:value, ::Digest::SHA512.hexdigest("some password"))

back to top

I am getting a '[error] Failed with 406 Not Acceptable' error in the GUI

The most likely cause for this error is that the access credentials are not configured properly in the client config file.

Edit the file in ./client/conf/dradis.xml and adjust the username and password in the connection URL (restful_server option). Close the client and launch again.

back to top

How do I export all my notes into a plain text file?

Your answer in the community forums.

back to top

By default the server starts in 127.0.0.1:3004. How can I make it listen on a different interface/port number?

Port number can be changed using the -p parameter. For instance to listen on port 80:

rails server -p 80

The interface can be changed using the -b parameter. To listen on ALL (dangerous!) interfaces do:

rails server -b 0.0.0.0

You can adjust the shortcuts with this parameters. More on configuring the framework can be found in the configure and launch page.

back to top