@xracerx could you try running the following commands from your dradis-ce folder? I think we’ve ended up with an updated Nmap plugin without an update to dradis-plugins.
@xracerx thanks for the update! Could you go ahead and re-install Dradis using these instructions? Installing Dradis on Kali Linux | Dradis Framework. I’ve seen this error before and it happened when a few of the plugins got out of sync with each other. There’s no good way for us to fix the built-in version from Kali but those instructions will get you the latest changes plus a quick and easy way to keep up to date with the changes we’ll be rolling out in the future!
I managed to installed the dradis-ce from the git.
Initially installation was hard, I realised there are couple of dependencies from apt-get that I have to install first before using the bundle.
Sorry, I’m not sure what you mean. Could you give more details? Here’s a link to the Pro support site that gives more detail on what the Nmap plugin creates: Tools, Templates, and Fields | Dradis Pro Help. The Plugin Manager feature isn’t available in the Community Edition but the uploads create the same data.
You can remove everything manually (though you can select all issues at once to delete with the topmost checkbox), or you can remove everything at once from the command line using RAILS_ENV=production bundle exec thor dradis:reset
Any text editor would do. I just use gedit, usually. What are you wanting to edit and in which file? Changing your project files may damage your instance of Dradis.
Meanwhile the part that are not working is:
fbfb8998/lib/dradis/plugins/projects/export/v2/template.rb:22:in build_issues' /usr/lib/dradis-ce/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/dynamic_matchers.rb:22:in method_missing’: undefined method `issue_library’ for #Class:0x0000561bd0e322a8 (NoMethodError)
When I type in:
RAILS_ENV=production bundle exec thor dradis:reset
@xracerx I actually saw a similar error last week while testing. My hunch is that an update of your Dradis instance will do the trick! Can you check the following? (run from your dradis-ce folder)
$ git rev-parse --short HEAD
^ that outputs the short slug showing the latest commit on your system. If the output is anything other than d7b5dc4, it’s time to upgrade! To get the latest version:
$ git pull origin master
$ bundle exec rails server