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 /dradisframework/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

InfoSec project delivery 5-day crash course

Learn innovative, actionable techniques and approaches for reducing the overhead that drags down InfoSec project delivery. You’ll learn how to optimize:

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

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