Enable/Disable Add-ons

If your answer is not here the Community Forums are your best bet.

To enable or disable an integration, edit the Gemfile.plugins file and restart the application.

1. Edit /dradis-ce/Gemfile.plugins

Scan the contents of the Gemfile.plugins file to find the lines relevant to the integration(s) you want to enable or disable.

To enable a integration: uncomment the relevant lines.

To disable a integration: comment the relevant lines.


2. Update and restart the application

$ bundle install

After restarting the application, you should be ready to go with your integrations correctly enabled or disabled.

Example Gemfile.plugins file:

# General add-ons
# if Dir.exists?('../dradis-api') && !ENV['PACKAGING']
#   gem 'dradis-api', path: '../dradis-api'
# else
#   gem 'dradis-api', github: 'dradis/dradis-api'
# end

# Export plugins
if Dir.exists?('../dradis-html_export') && !ENV['PACKAGING']
gem 'dradis-html_export', path: '../dradis-html_export'
else
gem 'dradis-html_export', github: 'dradis/dradis-html_export'
end
# if Dir.exists?('../dradis-pdf_export') && !ENV['PACKAGING']
#   gem 'dradis-pdf_export', path: '../dradis-pdf_export'
# else
#   gem 'dradis-pdf_export', github: 'dradis/dradis-pdf_export'
# end
# if Dir.exists?('../dradis-csv') && !ENV['PACKAGING']
#   gem 'dradis-csv', path: '../dradis-csv'
# else
#   gem 'dradis-csv', github: 'dradis/dradis-csv'
# end

# Import plugins
if Dir.exists?('../dradis-mediawiki') && !ENV['PACKAGING']
gem 'dradis-mediawiki', path: '../dradis-mediawiki'
else
gem 'dradis-mediawiki', github: 'dradis/dradis-mediawiki'
end
if Dir.exists?('../dradis-vulndb') && !ENV['PACKAGING']
gem 'dradis-vulndb', path: '../dradis-vulndb'
else
gem 'dradis-vulndb', github: 'dradis/dradis-vulndb'
end

# Upload plugins
if Dir.exists?('../dradis-burp') && !ENV['PACKAGING']
gem 'dradis-burp', path: '../dradis-burp'
else
gem 'dradis-burp', github: 'dradis/dradis-burp'
end
if Dir.exists?('../dradis-nessus') && !ENV['PACKAGING']
gem 'dradis-nessus', path: '../dradis-nessus'
else
gem 'dradis-nessus', github: 'dradis/dradis-nessus'
end

# Themes
# if Dir.exists?('../dradis-theme_snowcrash') && !ENV['PACKAGING']
#   gem 'dradis-theme_snowcrash', path: '../dradis-theme_snowcrash'
# else
#   gem 'dradis-theme_snowcrash', github: 'dradis/dradis-theme_snowcrash'
# end

Streamline InfoSec Project Delivery

Learn practical tips to reduce the overhead that drags down security assessment delivery with this 5-day course. These proven, innovative, and straightforward techniques will optimize all areas of your next engagement including:

  • Scoping
  • Scheduling
  • Project Planning
  • Delivery
  • Intra-team Collaboration
  • Reporting and much more...

Your email is kept private. We don't do the spam thing.