3.1.0RC2 > 3.6 Upgrade Notes on Kali 2016.2 (PWK Image) ======================================================= 1) Up until now I have been running bundle exec rails server from the /usr/lib/dradis folder. Maybe this was a mistake? Should I have been running this from opt/dradis-ce? I am in the middle of a project, but have taken a VMware snapshot prior so I can revert to a working state when possible. Checked git branch in opt/dradis-ce: master 2) I see now the release 3.6 branch had been merged with the master branch as of 2 days ago, so ran a git pull on the master branch: git pull -v POST git-upload-pack (gzip 1048 to 593 bytes) POST git-upload-pack (gzip 1598 to 862 bytes) remote: Counting objects: 35, done. remote: Total 35 (delta 25), reused 25 (delta 25), pack-reused 9 Unpacking objects: 100% (35/35), done. From https://github.com/dradis/dradis-ce 0c8b345..5909823 master -> origin/master = [up to date] attachment-list -> origin/attachment-list = [up to date] bosunolanrewaju/multi-tag -> origin/bosunolanrewaju/multi-tag = [up to date] refactor-nodes-modal -> origin/refactor-nodes-modal 9179a4b..bf89738 release-3.6 -> origin/release-3.6 = [up to date] tour-video -> origin/tour-video = [up to date] turbolinks -> origin/turbolinks * [new tag] v3.6.0 -> v3.6.0 Updating 0c8b345..5909823 Fast-forward CHANGELOG | 10 ++ app/assets/javascripts/snowcrash/behaviors.js.coffee | 2 + .../javascripts/snowcrash/modules/issues/table.js.coffee | 8 +- .../stylesheets/snowcrash/modules/methodologies.scss | 13 ++- app/controllers/concerns/content_from_template.rb | 21 ++++ app/controllers/evidence_controller.rb | 2 +- app/controllers/issues_controller.rb | 21 +--- app/controllers/nested_node_resource_controller.rb | 28 +---- app/controllers/notes_controller.rb | 3 +- app/models/concerns/node_properties.rb | 3 + app/models/node.rb | 8 +- app/views/activities/poll.js.erb | 2 +- app/views/export/index.html.erb | 2 +- app/views/issues/_toolbar.html.erb | 9 +- app/views/issues/index.html.erb | 10 -- app/views/layouts/snowcrash/_breadcrumb.html.erb | 2 +- app/views/layouts/snowcrash/_navbar.html.erb | 4 +- app/views/methodologies/index.html.erb | 155 +++++++++++++------------ app/views/nodes/modals/_move.html.erb | 2 +- config/application.rb | 6 - lib/dradis/ce.rb | 3 + lib/dradis/ce/version.rb | 4 +- 22 files changed, 166 insertions(+), 152 deletions(-) create mode 100644 app/controllers/concerns/content_from_template.rb 3) Tried starting Dradis services as previously, however noted it was still using Rails 4.2.6 when Dradis 3.6 uses Rails 5.0.2. Likely due to the directory I was running bundle exec rails server in /usr/lib/dradis/ when perhaps I should have been running it in /opt/dradis-ce? I have backups of all my project as a zip and other modified templates. cd /usr/lib/dradis/ bundle exec rails server redis-server bundle exec rake resque:work Faraday::Builder is now Faraday::RackBuilder. => Booting Thin => Rails 4.2.6 application starting in development on http://localhost:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to 1024 Listening on localhost:3000, CTRL+C to stop 15646:C 20 Apr 22:39:40.083 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 15646:M 20 Apr 22:39:40.084 * Increased maximum number of open files to 10032 (it was originally set to 1024). 15646:M 20 Apr 22:39:40.084 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now. _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 3.2.8 (00000000/0) 32 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 15646 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 15646:M 20 Apr 22:39:40.084 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 15646:M 20 Apr 22:39:40.084 # Server started, Redis version 3.2.8 15646:M 20 Apr 22:39:40.085 * DB loaded from disk: 0.000 seconds 15646:M 20 Apr 22:39:40.085 * The server is now ready to accept connections on port 6379 Faraday::Builder is now Faraday::RackBuilder. Quit all services, then... 4) Changed to /opt/dradis-ce directory to run bundle exec rails server, which picks up the Rails 5.0.2 application, but crashes with errors in gems. Perhaps those need updating too? DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) => Booting Thin => Rails 5.0.2 application starting in development on http://localhost:3000 => Run `rails server -h` for more startup options Exiting /var/lib/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/session/abstract_store.rb:90:in `': uninitialized constant Rack::Session::Abstract::Persisted (NameError) from /var/lib/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/session/abstract_store.rb:8:in `' from /var/lib/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/session/abstract_store.rb:7:in `' from /var/lib/gems/2.3.0/gems/actionpack-5.0.2/lib/action_dispatch/middleware/session/cookie_store.rb:2:in `' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application/configuration.rb:181:in `const_get' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application/configuration.rb:181:in `session_store' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application/default_middleware_stack.rb:58:in `block in build_stack' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application/default_middleware_stack.rb:13:in `tap' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application/default_middleware_stack.rb:13:in `build_stack' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application.rb:504:in `default_middleware_stack' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/engine.rb:506:in `block in app' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/engine.rb:504:in `synchronize' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/engine.rb:504:in `app' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application/finisher.rb:37:in `block in ' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `instance_exec' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:30:in `run' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:55:in `block in run_initializers' from /usr/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each' from /usr/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' from /usr/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from' from /usr/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component' from /usr/lib/ruby/2.3.0/tsort.rb:347:in `each' from /usr/lib/ruby/2.3.0/tsort.rb:347:in `call' from /usr/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component' from /usr/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each' from /usr/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/initializable.rb:54:in `run_initializers' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/application.rb:352:in `initialize!' from /opt/dradis-ce/config/environment.rb:5:in `' from /opt/dradis-ce/config.ru:3:in `require_relative' from /opt/dradis-ce/config.ru:3:in `block in
' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize' from /opt/dradis-ce/config.ru:in `new' from /opt/dradis-ce/config.ru:in `
' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:49:in `eval' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:49:in `new_from_string' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:40:in `parse_file' from /var/lib/gems/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:318:in `build_app_and_options_from_config' from /var/lib/gems/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:218:in `app' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/server.rb:59:in `app' from /var/lib/gems/2.3.0/gems/rack-2.0.1/lib/rack/server.rb:353:in `wrapped_app' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/server.rb:124:in `log_to_stdout' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/server.rb:77:in `start' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:90:in `block in server' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `tap' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `server' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in `' from bin/rails:4:in `require' from bin/rails:4:in `
' root@kali:/opt/dradis-ce# 5) In /opt/dradis-ce ran a bundle update actionpack bundle update actionpack Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Resolving dependencies..... Using rake 12.0.0 Using RedCloth 4.3.1 Using concurrent-ruby 1.0.5 Using i18n 0.8.1 (was 0.7.0) Using minitest 5.10.1 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using rack 2.0.1 Using nio4r 2.0.0 Using websocket-extensions 0.1.2 Using mime-types-data 3.2016.0521 Using arel 7.1.4 Using public_suffix 2.0.4 Using ast 2.3.0 Using bcrypt 3.1.10 Using blankslate 2.1.2.4 Using sass 3.4.23 Using brakeman 3.4.1 Using uniform_notifier 1.10.0 Using bundler 1.14.5 Using thor 0.19.4 Using byebug 9.0.6 Using cancancan 1.15.0 Using chronic 0.10.2 Using cliver 0.3.2 Using coderay 1.1.1 Using coffee-script-source 1.12.2 Using execjs 2.7.0 Using method_source 0.8.2 Using database_cleaner 1.5.3 Using debug_inspector 0.0.2 Using diff-lcs 1.2.5 Using differ 0.1.2 Using dradis-plugins 3.6.0 from https://github.com/dradis/dradis-plugins.git (at master@fba8ff8) Using multi_json 1.12.1 Using rprogram 0.3.2 Using rubyzip 1.2.1 Using ffi 1.9.14 Using formatador 0.2.5 Using rb-fsevent 0.9.8 Using lumberjack 1.0.10 Using nenv 0.3.0 Using shellany 0.0.1 Using slop 3.6.0 Using guard-compat 1.2.1 Using rspec-support 3.5.0 Using image_size 1.3.1 Using json 1.8.2 Using kgio 2.11.0 Using libv8 3.16.14.17 (x86-linux) Using mono_logger 1.1.0 Using mustermann 1.0.0.beta2 Using mysql2 0.3.18 Using request_store 1.3.1 Using powerpack 0.1.1 Using rainbow 2.2.1 Using raindrops 0.17.0 Using redis 3.3.3 Using ref 2.0.0 Using tilt 2.0.7 Using rinku 2.0.2 Using ruby-progressbar 1.8.1 Using unicode-display_width 1.1.3 Using sqlite3 1.3.12 Using timecop 0.8.1 Using turbolinks-source 5.0.0 Using tzinfo 1.2.3 (was 1.2.2) Using nokogiri 1.7.1 Using rack-test 0.6.3 Using sprockets 3.7.1 Using rack-protection 2.0.0.beta2 Using vegas 0.1.11 Using warden 1.2.6 Using websocket-driver 0.6.5 Using mime-types 3.1 Using addressable 2.5.0 Using parser 2.4.0.0 Using parslet 1.4.0 Using bootstrap-sass 2.3.2.2 Using font-awesome-sass 4.7.0 Using bundler-audit 0.5.0 Using foreman 0.82.0 Using whenever 0.9.7 Using coffee-script 2.4.1 Using uglifier 3.0.4 Using dradis-brakeman 3.0.1 from source at `../dradis-brakeman` Using dradis-calculator_cvss 3.6.0 Using dradis-calculator_dread 3.6.0 Using dradis-csv 3.3.1 from source at `../dradis-csv` Using dradis-ntospider 3.1.2 from source at `../dradis-ntospider` Using dradis-openvas 3.1.0 from source at `../dradis-openvas` Using dradis-projects 3.6.0 from https://github.com/dradis/dradis-projects.git (at master@1c29dd1) Using rb-inotify 0.9.7 Using notiffany 0.1.1 Using pry 0.10.4 Using rspec-core 3.5.4 Using rspec-expectations 3.5.0 Using rspec-mocks 3.5.0 Using unicorn 4.9.0 Using redis-namespace 1.5.3 Using therubyracer 0.12.2 Using turbolinks 5.0.1 Using activesupport 5.0.2 Using loofah 2.0.3 Using xpath 2.0.0 Using dradis-acunetix 3.2.1 from source at `../dradis-acunetix` Using dradis-burp 3.6.0 Using dradis-metasploit 3.0.1 from source at `../dradis-metasploit` Using dradis-nessus 3.6.0 Using dradis-nexpose 3.1.1 from source at `../dradis-nexpose` Using dradis-nikto 2.9.1 from source at `../dradis-nikto` Using ruby-nmap 0.9.2 Using dradis-qualys 3.6.0 Using dradis-zap 3.6.0 Using sinatra 2.0.0.beta2 Using mail 2.6.4 Using launchy 2.4.3 Using rubocop 0.48.0 Using listen 3.0.8 Using rspec 3.5.0 Using rails-dom-testing 2.0.2 Using globalid 0.3.7 Using activemodel 5.0.2 Using bullet 5.4.3 Using jbuilder 2.6.1 Using factory_girl 4.8.0 Using html-pipeline 2.5.0 Using shoulda-matchers 3.1.1 Using spring 2.0.0 Using rails-html-sanitizer 1.0.3 Using capybara 2.11.0 Using dradis-nmap 3.6.0 Using resque 1.27.2 Using letter_opener 1.4.1 Using guard 2.14.0 Using rerun 0.11.0 Using activejob 5.0.2 Using activerecord 5.0.2 Using dradis-api 0.0.1 from source at `engines/dradis-api` Using spring-watcher-listen 2.0.1 Using actionview 5.0.2 Using poltergeist 1.12.0 Using resque-status 0.5.0 Using guard-rspec 4.7.3 Using acts_as_tree 2.6.0 Using paper_trail 4.0.2 Using actionpack 5.0.2 Using record_tag_helper 1.0.0 Using actioncable 5.0.2 Using actionmailer 5.0.2 Using railties 5.0.2 Using sprockets-rails 3.2.0 Using kaminari 0.16.3 Using simple_form 3.3.1 Using coffee-rails 4.2.1 Using factory_girl_rails 4.8.0 Using jquery-fileupload-rails 0.3.5 Using jquery-hotkeys-rails 0.7.9.1 Using jquery-rails 4.2.1 Using jquery-ui-rails 6.0.1 Using rspec-rails 3.5.2 Using web-console 3.4.0 Using rails 5.0.2 Using sass-rails 5.0.6 Using local_time 1.0.3 Using rails_autolink 1.1.6 Using dradis-html_export 3.3.3 Bundle updated! 6) in /opt/dradis-ce bundle exec rails server Crashes with same issue as step 4) 7) in /opt/dradis-ce ran bundle update bundle update Fetching https://github.com/dradis/dradis-plugins.git Fetching https://github.com/dradis/dradis-projects.git Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Resolving dependencies....... Using rake 12.0.0 Using RedCloth 4.3.1 Using concurrent-ruby 1.0.5 Using i18n 0.8.1 Using minitest 5.10.1 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using rack 2.0.1 Using nio4r 2.0.0 Using websocket-extensions 0.1.2 Using mime-types-data 3.2016.0521 Using arel 7.1.4 Installing public_suffix 2.0.5 (was 2.0.4) Using ast 2.3.0 Using bcrypt 3.1.10 Installing bindex 0.5.0 with native extensions Using blankslate 2.1.2.4 Using sass 3.4.23 Installing brakeman 3.6.1 (was 3.4.1) Using uniform_notifier 1.10.0 Using bundler 1.14.5 Using thor 0.19.4 Using byebug 9.0.6 Installing cancancan 1.16.0 (was 1.15.0) Using chronic 0.10.2 Using cliver 0.3.2 Using coderay 1.1.1 Using coffee-script-source 1.12.2 Using execjs 2.7.0 Using method_source 0.8.2 Using database_cleaner 1.5.3 Installing diff-lcs 1.3 (was 1.2.5) Using differ 0.1.2 Using dradis-plugins 3.6.0 from https://github.com/dradis/dradis-plugins.git (at master@fba8ff8) Using multi_json 1.12.1 Using rprogram 0.3.2 Using rubyzip 1.2.1 Installing ffi 1.9.18 (was 1.9.14) with native extensions Using formatador 0.2.5 Using rb-fsevent 0.9.8 Installing lumberjack 1.0.11 (was 1.0.10) Using nenv 0.3.0 Using shellany 0.0.1 Using slop 3.6.0 Using guard-compat 1.2.1 Using rspec-support 3.5.0 Using image_size 1.3.1 Using json 1.8.2 Using kgio 2.11.0 Installing libv8 3.16.14.19 (x86-linux) (was 3.16.14.17) Using mono_logger 1.1.0 Using mustermann 1.0.0.beta2 Using mysql2 0.3.18 Installing request_store 1.3.2 (was 1.3.1) Using powerpack 0.1.1 Using rainbow 2.2.1 Installing raindrops 0.18.0 (was 0.17.0) with native extensions Using redis 3.3.3 Using ref 2.0.0 Using tilt 2.0.7 Using rinku 2.0.2 Using ruby-progressbar 1.8.1 Installing unicode-display_width 1.2.1 (was 1.1.3) Installing sqlite3 1.3.13 (was 1.3.12) with native extensions Using timecop 0.8.1 Using turbolinks-source 5.0.0 Using tzinfo 1.2.3 Using nokogiri 1.7.1 Using rack-test 0.6.3 Using sprockets 3.7.1 Using rack-protection 2.0.0.beta2 Using vegas 0.1.11 Installing warden 1.2.7 (was 1.2.6) Using websocket-driver 0.6.5 Using mime-types 3.1 Installing addressable 2.5.1 (was 2.5.0) Using parser 2.4.0.0 Using parslet 1.4.0 Using bootstrap-sass 2.3.2.2 Using font-awesome-sass 4.7.0 Using bundler-audit 0.5.0 Installing foreman 0.84.0 (was 0.82.0) Using whenever 0.9.7 Using coffee-script 2.4.1 Installing uglifier 3.2.0 (was 3.0.4) Using dradis-brakeman 3.0.1 from source at `../dradis-brakeman/` Using dradis-calculator_cvss 3.6.0 Using dradis-calculator_dread 3.6.0 Using dradis-csv 3.3.1 from source at `../dradis-csv/` Using dradis-ntospider 3.1.2 from source at `../dradis-ntospider/` Using dradis-openvas 3.1.0 from source at `../dradis-openvas/` Using dradis-projects 3.6.0 from https://github.com/dradis/dradis-projects.git (at master@1c29dd1) Installing rb-inotify 0.9.8 (was 0.9.7) Using notiffany 0.1.1 Using pry 0.10.4 Using rspec-core 3.5.4 Using rspec-expectations 3.5.0 Using rspec-mocks 3.5.0 Using unicorn 4.9.0 Using redis-namespace 1.5.3 Installing therubyracer 0.12.3 (was 0.12.2) with native extensions Using turbolinks 5.0.1 Using activesupport 5.0.2 Using loofah 2.0.3 Using xpath 2.0.0 Using dradis-acunetix 3.2.1 from source at `../dradis-acunetix/` Using dradis-burp 3.6.0 Using dradis-metasploit 3.0.1 from source at `../dradis-metasploit/` Using dradis-nessus 3.6.0 Using dradis-nexpose 3.1.1 from source at `../dradis-nexpose/` Using dradis-nikto 2.9.1 from source at `../dradis-nikto/` Using ruby-nmap 0.9.2 Using dradis-qualys 3.6.0 Using dradis-zap 3.6.0 Using sinatra 2.0.0.beta2 Using mail 2.6.4 Using launchy 2.4.3 Installing rubocop 0.48.1 (was 0.48.0) Using listen 3.0.8 Using rspec 3.5.0 Using rails-dom-testing 2.0.2 Installing globalid 0.4.0 (was 0.3.7) Using activemodel 5.0.2 Installing bullet 5.5.1 (was 5.4.3) Installing jbuilder 2.6.3 (was 2.6.1) Using factory_girl 4.8.0 Using html-pipeline 2.5.0 Using shoulda-matchers 3.1.1 Installing spring 2.0.1 (was 2.0.0) Using rails-html-sanitizer 1.0.3 Installing capybara 2.13.0 (was 2.11.0) Using dradis-nmap 3.6.0 Installing resque 1.27.4 (was 1.27.2) Using letter_opener 1.4.1 Installing guard 2.14.1 (was 2.14.0) Using rerun 0.11.0 Using activejob 5.0.2 Using activerecord 5.0.2 Using dradis-api 0.0.1 from source at `engines/dradis-api` Using spring-watcher-listen 2.0.1 Using actionview 5.0.2 Installing poltergeist 1.14.0 (was 1.12.0) Using resque-status 0.5.0 Using guard-rspec 4.7.3 Installing acts_as_tree 2.6.1 (was 2.6.0) Using paper_trail 4.0.2 Using actionpack 5.0.2 Using record_tag_helper 1.0.0 Using actioncable 5.0.2 Using actionmailer 5.0.2 Using railties 5.0.2 Using sprockets-rails 3.2.0 Using kaminari 0.16.3 Installing simple_form 3.4.0 (was 3.3.1) Using coffee-rails 4.2.1 Using factory_girl_rails 4.8.0 Using jquery-fileupload-rails 0.3.5 Using jquery-hotkeys-rails 0.7.9.1 Installing jquery-rails 4.3.1 (was 4.2.1) Using jquery-ui-rails 6.0.1 Using rspec-rails 3.5.2 Installing web-console 3.5.0 (was 3.4.0) Using rails 5.0.2 Using sass-rails 5.0.6 Using local_time 1.0.3 Using rails_autolink 1.1.6 Using dradis-html_export 3.3.3 Bundle updated! Post-install message from brakeman: Thank you for using Brakeman! Please consider supporting future development with Brakeman Pro: https://brakemanpro.com/ 8) in /opt/dradis-ce bundle exec rails server /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError) Gem Load Error is: wrong argument type Class (expected Module) Backtrace for gem load error is: /usr/lib/ruby/vendor_ruby/v8/conversion.rb:23:in `include' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:23:in `block (2 levels) in ' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:22:in `class_eval' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:22:in `block in ' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:21:in `each' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:21:in `' /var/lib/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8.rb:22:in `require' /var/lib/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8.rb:22:in `' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/ruby_racer_runtime.rb:108:in `require' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/ruby_racer_runtime.rb:108:in `available?' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `each' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `find' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `best_available' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57:in `autodetect' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:5:in `' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:4:in `' /var/lib/gems/2.3.0/gems/uglifier-3.2.0/lib/uglifier.rb:5:in `require' /var/lib/gems/2.3.0/gems/uglifier-3.2.0/lib/uglifier.rb:5:in `' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:91:in `require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:91:in `block (2 levels) in require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `each' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `block in require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `each' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler.rb:107:in `require' /opt/dradis-ce/config/application.rb:16:in `' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `require' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `block in server' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `tap' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `server' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in `' bin/rails:4:in `require' bin/rails:4:in `
' Bundler Error Backtrace: from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:90:in `block (2 levels) in require' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `each' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `block in require' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `each' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `require' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler.rb:107:in `require' from /opt/dradis-ce/config/application.rb:16:in `' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `require' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `block in server' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `tap' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `server' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in `' from bin/rails:4:in `require' from bin/rails:4:in `
' 9) in /opt/dradis-ce ran a bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Using rake 12.0.0 Using RedCloth 4.3.1 Using concurrent-ruby 1.0.5 Using i18n 0.8.1 Using minitest 5.10.1 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using rack 2.0.1 Using nio4r 2.0.0 Using websocket-extensions 0.1.2 Using mime-types-data 3.2016.0521 Using arel 7.1.4 Using public_suffix 2.0.5 Using ast 2.3.0 Using bcrypt 3.1.10 Using bindex 0.5.0 Using blankslate 2.1.2.4 Using sass 3.4.23 Using brakeman 3.6.1 Using uniform_notifier 1.10.0 Using bundler 1.14.5 Using thor 0.19.4 Using byebug 9.0.6 Using cancancan 1.16.0 Using chronic 0.10.2 Using cliver 0.3.2 Using coderay 1.1.1 Using coffee-script-source 1.12.2 Using execjs 2.7.0 Using method_source 0.8.2 Using database_cleaner 1.5.3 Using diff-lcs 1.3 Using differ 0.1.2 Using dradis-plugins 3.6.0 from https://github.com/dradis/dradis-plugins.git (at master@fba8ff8) Using multi_json 1.12.1 Using rprogram 0.3.2 Using rubyzip 1.2.1 Using ffi 1.9.18 Using formatador 0.2.5 Using rb-fsevent 0.9.8 Using lumberjack 1.0.11 Using nenv 0.3.0 Using shellany 0.0.1 Using slop 3.6.0 Using guard-compat 1.2.1 Using rspec-support 3.5.0 Using image_size 1.3.1 Using json 1.8.2 Using kgio 2.11.0 Using libv8 3.16.14.19 (x86-linux) Using mono_logger 1.1.0 Using mustermann 1.0.0.beta2 Using mysql2 0.3.18 Using request_store 1.3.2 Using powerpack 0.1.1 Using rainbow 2.2.1 Using raindrops 0.18.0 Using redis 3.3.3 Using ref 2.0.0 Using tilt 2.0.7 Using rinku 2.0.2 Using ruby-progressbar 1.8.1 Using unicode-display_width 1.2.1 Using sqlite3 1.3.13 Using timecop 0.8.1 Using turbolinks-source 5.0.0 Using tzinfo 1.2.3 Using nokogiri 1.7.1 Using rack-test 0.6.3 Using sprockets 3.7.1 Using rack-protection 2.0.0.beta2 Using vegas 0.1.11 Using warden 1.2.7 Using websocket-driver 0.6.5 Using mime-types 3.1 Using addressable 2.5.1 Using parser 2.4.0.0 Using parslet 1.4.0 Using bootstrap-sass 2.3.2.2 Using font-awesome-sass 4.7.0 Using bundler-audit 0.5.0 Using foreman 0.84.0 Using whenever 0.9.7 Using coffee-script 2.4.1 Using uglifier 3.2.0 Using dradis-brakeman 3.0.1 from source at `../dradis-brakeman` Using dradis-calculator_cvss 3.6.0 Using dradis-calculator_dread 3.6.0 Using dradis-csv 3.3.1 from source at `../dradis-csv` Using dradis-ntospider 3.1.2 from source at `../dradis-ntospider` Using dradis-openvas 3.1.0 from source at `../dradis-openvas` Using dradis-projects 3.6.0 from https://github.com/dradis/dradis-projects.git (at master@1c29dd1) Using rb-inotify 0.9.8 Using notiffany 0.1.1 Using pry 0.10.4 Using rspec-core 3.5.4 Using rspec-expectations 3.5.0 Using rspec-mocks 3.5.0 Using unicorn 4.9.0 Using redis-namespace 1.5.3 Using therubyracer 0.12.3 Using turbolinks 5.0.1 Using activesupport 5.0.2 Using loofah 2.0.3 Using xpath 2.0.0 Using dradis-acunetix 3.2.1 from source at `../dradis-acunetix` Using dradis-burp 3.6.0 Using dradis-metasploit 3.0.1 from source at `../dradis-metasploit` Using dradis-nessus 3.6.0 Using dradis-nexpose 3.1.1 from source at `../dradis-nexpose` Using dradis-nikto 2.9.1 from source at `../dradis-nikto` Using ruby-nmap 0.9.2 Using dradis-qualys 3.6.0 Using dradis-zap 3.6.0 Using sinatra 2.0.0.beta2 Using mail 2.6.4 Using launchy 2.4.3 Using rubocop 0.48.1 Using listen 3.0.8 Using rspec 3.5.0 Using rails-dom-testing 2.0.2 Using globalid 0.4.0 Using activemodel 5.0.2 Using bullet 5.5.1 Using jbuilder 2.6.3 Using factory_girl 4.8.0 Using html-pipeline 2.5.0 Using shoulda-matchers 3.1.1 Using spring 2.0.1 Using rails-html-sanitizer 1.0.3 Using capybara 2.13.0 Using dradis-nmap 3.6.0 Using resque 1.27.4 Using letter_opener 1.4.1 Using guard 2.14.1 Using rerun 0.11.0 Using activejob 5.0.2 Using activerecord 5.0.2 Using dradis-api 0.0.1 from source at `engines/dradis-api` Using spring-watcher-listen 2.0.1 Using actionview 5.0.2 Using poltergeist 1.14.0 Using resque-status 0.5.0 Using guard-rspec 4.7.3 Using acts_as_tree 2.6.1 Using paper_trail 4.0.2 Using actionpack 5.0.2 Using record_tag_helper 1.0.0 Using actioncable 5.0.2 Using actionmailer 5.0.2 Using railties 5.0.2 Using sprockets-rails 3.2.0 Using kaminari 0.16.3 Using simple_form 3.4.0 Using coffee-rails 4.2.1 Using factory_girl_rails 4.8.0 Using jquery-fileupload-rails 0.3.5 Using jquery-hotkeys-rails 0.7.9.1 Using jquery-rails 4.3.1 Using jquery-ui-rails 6.0.1 Using rspec-rails 3.5.2 Using web-console 3.5.0 Using rails 5.0.2 Using sass-rails 5.0.6 Using local_time 1.0.3 Using rails_autolink 1.1.6 Using dradis-html_export 3.3.3 Bundle complete! 79 Gemfile dependencies, 169 gems now installed. Use `bundle show [gemname]` to see where a bundled gem is installed. root@kali:/opt/dradis-ce# 10) It seemed that perhaps the install of uglifier 3.2.0 (was 3.0.4) was causing a problem, so I rolled back my VMware snapshot and started again. 11) did a git pull -v from /opt/dradis-ce with the same results 12) in /opt/dradis-ce ran individual bundle updates, omitted installing uglifier 3.2.0 (was 3.0.4) bundle update actionpack bundle update public_suffix bundle update brakeman bundle update cancancan bundle update diff-lcs bundle update ffi bundle update lumberjack bundle update libv8 bundle update request_store bundle update raindrops bundle update unicode-display_width bundle update sqlite3 bundle update warden bundle update addressable bundle update foreman bundle update rb-inotify bundle update therubyracer bundle update rubocop bundle update globalid bundle update bullet bundle update jbuilder bundle update spring bundle update capybara bundle update resque bundle update guard bundle update poltergeist bundle update acts_as_tree bundle update simple_form bundle update jquery-rails bundle update web-console The only one that originally failed was: bundle update bindex Could not find gem 'bindex'. However this was installed when running bundle update web-console So now all gems are updated except uglifier 3.0.4. 13) ran bundle exec rails server again from /opt/dradis-ce, but it still crashes with the old uglifier version: /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError) Gem Load Error is: wrong argument type Class (expected Module) Backtrace for gem load error is: /usr/lib/ruby/vendor_ruby/v8/conversion.rb:23:in `include' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:23:in `block (2 levels) in ' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:22:in `class_eval' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:22:in `block in ' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:21:in `each' /usr/lib/ruby/vendor_ruby/v8/conversion.rb:21:in `' /var/lib/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8.rb:22:in `require' /var/lib/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8.rb:22:in `' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/ruby_racer_runtime.rb:108:in `require' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/ruby_racer_runtime.rb:108:in `available?' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `each' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `find' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:63:in `best_available' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:57:in `autodetect' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:5:in `' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:4:in `' /var/lib/gems/2.3.0/gems/uglifier-3.0.4/lib/uglifier.rb:5:in `require' /var/lib/gems/2.3.0/gems/uglifier-3.0.4/lib/uglifier.rb:5:in `' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:91:in `require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:91:in `block (2 levels) in require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `each' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `block in require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `each' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `require' /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler.rb:107:in `require' /opt/dradis-ce/config/application.rb:16:in `' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `require' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `block in server' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `tap' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `server' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!' /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in `' bin/rails:4:in `require' bin/rails:4:in `
' Bundler Error Backtrace: from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:90:in `block (2 levels) in require' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `each' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:86:in `block in require' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `each' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:75:in `require' from /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler.rb:107:in `require' from /opt/dradis-ce/config/application.rb:16:in `' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `require' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:88:in `block in server' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `tap' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:85:in `server' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands/commands_tasks.rb:49:in `run_command!' from /var/lib/gems/2.3.0/gems/railties-5.0.2/lib/rails/commands.rb:18:in `' from bin/rails:4:in `require' from bin/rails:4:in `
' 14) Ran a bundle install: bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Using rake 12.0.0 Using RedCloth 4.3.1 Using concurrent-ruby 1.0.5 Using i18n 0.8.1 Using minitest 5.10.1 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using rack 2.0.1 Using nio4r 2.0.0 Using websocket-extensions 0.1.2 Using mime-types-data 3.2016.0521 Using arel 7.1.4 Using public_suffix 2.0.5 Using ast 2.3.0 Using bcrypt 3.1.10 Using bindex 0.5.0 Using blankslate 2.1.2.4 Using sass 3.4.23 Using brakeman 3.6.1 Using uniform_notifier 1.10.0 Using bundler 1.14.5 Using thor 0.19.4 Using byebug 9.0.6 Using cancancan 1.16.0 Using chronic 0.10.2 Using cliver 0.3.2 Using coderay 1.1.1 Using coffee-script-source 1.12.2 Using execjs 2.7.0 Using method_source 0.8.2 Using database_cleaner 1.5.3 Using diff-lcs 1.3 Using differ 0.1.2 Using dradis-plugins 3.6.0 from https://github.com/dradis/dradis-plugins.git (at master@fba8ff8) Using multi_json 1.12.1 Using rprogram 0.3.2 Using rubyzip 1.2.1 Using ffi 1.9.18 Using formatador 0.2.5 Using rb-fsevent 0.9.8 Using lumberjack 1.0.11 Using nenv 0.3.0 Using shellany 0.0.1 Using slop 3.6.0 Using guard-compat 1.2.1 Using rspec-support 3.5.0 Using image_size 1.3.1 Using json 1.8.2 Using kgio 2.11.0 Using libv8 3.16.14.19 (x86-linux) Using mono_logger 1.1.0 Using mustermann 1.0.0.beta2 Using mysql2 0.3.18 Using request_store 1.3.2 Using powerpack 0.1.1 Using rainbow 2.2.1 Using raindrops 0.18.0 Using redis 3.3.3 Using ref 2.0.0 Using tilt 2.0.7 Using rinku 2.0.2 Using ruby-progressbar 1.8.1 Using unicode-display_width 1.2.1 Using sqlite3 1.3.13 Using timecop 0.8.1 Using turbolinks-source 5.0.0 Using tzinfo 1.2.3 Using nokogiri 1.7.1 Using rack-test 0.6.3 Using sprockets 3.7.1 Using rack-protection 2.0.0.beta2 Using vegas 0.1.11 Using warden 1.2.7 Using websocket-driver 0.6.5 Using mime-types 3.1 Using addressable 2.5.1 Using parser 2.4.0.0 Using parslet 1.4.0 Using bootstrap-sass 2.3.2.2 Using font-awesome-sass 4.7.0 Using bundler-audit 0.5.0 Using foreman 0.84.0 Using whenever 0.9.7 Using coffee-script 2.4.1 Using uglifier 3.0.4 Using dradis-brakeman 3.0.1 from source at `../dradis-brakeman` Using dradis-calculator_cvss 3.6.0 Using dradis-calculator_dread 3.6.0 Using dradis-csv 3.3.1 from source at `../dradis-csv` Using dradis-ntospider 3.1.2 from source at `../dradis-ntospider` Using dradis-openvas 3.1.0 from source at `../dradis-openvas` Using dradis-projects 3.6.0 from https://github.com/dradis/dradis-projects.git (at master@1c29dd1) Using rb-inotify 0.9.8 Using notiffany 0.1.1 Using pry 0.10.4 Using rspec-core 3.5.4 Using rspec-expectations 3.5.0 Using rspec-mocks 3.5.0 Using unicorn 4.9.0 Using redis-namespace 1.5.3 Using therubyracer 0.12.3 Using turbolinks 5.0.1 Using activesupport 5.0.2 Using loofah 2.0.3 Using xpath 2.0.0 Using dradis-acunetix 3.2.1 from source at `../dradis-acunetix` Using dradis-burp 3.6.0 Using dradis-metasploit 3.0.1 from source at `../dradis-metasploit` Using dradis-nessus 3.6.0 Using dradis-nexpose 3.1.1 from source at `../dradis-nexpose` Using dradis-nikto 2.9.1 from source at `../dradis-nikto` Using ruby-nmap 0.9.2 Using dradis-qualys 3.6.0 Using dradis-zap 3.6.0 Using sinatra 2.0.0.beta2 Using mail 2.6.4 Using launchy 2.4.3 Using rubocop 0.48.1 Using listen 3.0.8 Using rspec 3.5.0 Using rails-dom-testing 2.0.2 Using globalid 0.4.0 Using activemodel 5.0.2 Using bullet 5.5.1 Using jbuilder 2.6.3 Using factory_girl 4.8.0 Using html-pipeline 2.5.0 Using shoulda-matchers 3.1.1 Using spring 2.0.1 Using rails-html-sanitizer 1.0.3 Using capybara 2.13.0 Using dradis-nmap 3.6.0 Using resque 1.27.4 Using letter_opener 1.4.1 Using guard 2.14.1 Using rerun 0.11.0 Using activejob 5.0.2 Using activerecord 5.0.2 Using dradis-api 0.0.1 from source at `engines/dradis-api` Using spring-watcher-listen 2.0.1 Using actionview 5.0.2 Using poltergeist 1.14.0 Using resque-status 0.5.0 Using guard-rspec 4.7.3 Using acts_as_tree 2.6.1 Using paper_trail 4.0.2 Using actionpack 5.0.2 Using record_tag_helper 1.0.0 Using actioncable 5.0.2 Using actionmailer 5.0.2 Using railties 5.0.2 Using sprockets-rails 3.2.0 Using kaminari 0.16.3 Using simple_form 3.4.0 Using coffee-rails 4.2.1 Using factory_girl_rails 4.8.0 Using jquery-fileupload-rails 0.3.5 Using jquery-hotkeys-rails 0.7.9.1 Using jquery-rails 4.3.1 Using jquery-ui-rails 6.0.1 Using rspec-rails 3.5.2 Using web-console 3.5.0 Using rails 5.0.2 Using sass-rails 5.0.6 Using local_time 1.0.3 Using rails_autolink 1.1.6 Using dradis-html_export 3.3.3 Bundle complete! 79 Gemfile dependencies, 169 gems now installed. Use `bundle show [gemname]` to see where a bundled gem is installed. root@kali:/opt/dradis-ce# 15) Details about my environment: ruby -v ruby 2.3.1p112 (2016-04-26) [i386-linux-gnu] uname -a Linux kali 4.6.0-kali1-686 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) i686 GNU/Linux I also have rvm installed: cat /usr/local/rvm/VERSION 1.29.1 However I am not sure if rvm is configured correctly. Re-installed rvm including rails. I had previously installed rvm using: \curl -sSL https://get.rvm.io | bash Now: \curl -sSL https://get.rvm.io | bash -s stable --rails Downloading https://github.com/rvm/rvm/archive/1.29.1.tar.gz Downloading https://github.com/rvm/rvm/releases/download/1.29.1/1.29.1.tar.gz.asc gpg: Signature made Sun 19 Feb 2017 09:02:47 PM CET using RSA key ID BF04FF17 gpg: Good signature from "Michal Papis (RVM signing) " [unknown] gpg: Note: This key has expired! Primary key fingerprint: 409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3 Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17 GPG verified '/usr/local/rvm/archives/rvm-1.29.1.tgz' Upgrading the RVM installation in /usr/local/rvm/ Upgrade of RVM in /usr/local/rvm/ is complete. # Administrator, # # Thank you for using RVM! # We sincerely hope that RVM helps to make your life easier and more enjoyable!!! # # ~Wayne, Michal & team. In case of problems: https://rvm.io/help and https://twitter.com/rvm_io Upgrade Notes: * No new notes to display. rvm 1.29.1 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/] Searching for binary rubies, this might take some time. No binary rubies available for: debian/Kali_Linux_Rolling/i386/ruby-2.4.0. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for debian. Installing requirements for debian. Updating system.. Installing required packages: gawk, libyaml-dev, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, bison, libreadline6-dev............ Requirements installation successful. Found user configured '-j' flag in 'rvm_make_flags', please note that RVM can detect number of CPU threads and set the '-j' flag automatically if you do not set it. Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.4.0, this may take a while depending on your cpu(s)... ruby-2.4.0 - #downloading ruby-2.4.0, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.9M 100 11.9M 0 0 1734k 0 0:00:07 0:00:07 --:--:-- 1895k ruby-2.4.0 - #extracting ruby-2.4.0 to /usr/local/rvm/src/ruby-2.4.0.... ruby-2.4.0 - #configuring.................................................................. ruby-2.4.0 - #post-configuration.. ruby-2.4.0 - #compiling.................................................................... ruby-2.4.0 - #installing........... ruby-2.4.0 - #making binaries executable.. ruby-2.4.0 - #downloading rubygems-2.6.11 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 748k 100 748k 0 0 757k 0 --:--:-- --:--:-- --:--:-- 757k No checksum for downloaded archive, recording checksum in user configuration. ruby-2.4.0 - #extracting rubygems-2.6.11.... ruby-2.4.0 - #removing old rubygems......... ruby-2.4.0 - #installing rubygems-2.6.11...................... ruby-2.4.0 - #gemset created /usr/local/rvm/gems/ruby-2.4.0@global ruby-2.4.0 - #importing gemset /usr/local/rvm/gemsets/global.gems.........................| ruby-2.4.0 - #generating global wrappers........ ruby-2.4.0 - #gemset created /usr/local/rvm/gems/ruby-2.4.0 ruby-2.4.0 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list ruby-2.4.0 - #generating default wrappers........ ruby-2.4.0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). Install of ruby-2.4.0 - #complete Ruby was built without documentation, to build it run: rvm docs generate-ri Creating alias default for ruby-2.4.0... Fetching: i18n-0.8.1.gem (100%) Successfully installed i18n-0.8.1 Fetching: thread_safe-0.3.6.gem (100%) Successfully installed thread_safe-0.3.6 Fetching: tzinfo-1.2.3.gem (100%) Successfully installed tzinfo-1.2.3 Fetching: concurrent-ruby-1.0.5.gem (100%) Successfully installed concurrent-ruby-1.0.5 Fetching: activesupport-5.0.2.gem (100%) Successfully installed activesupport-5.0.2 Fetching: rack-2.0.1.gem (100%) Successfully installed rack-2.0.1 Fetching: rack-test-0.6.3.gem (100%) Successfully installed rack-test-0.6.3 Fetching: mini_portile2-2.1.0.gem (100%) Successfully installed mini_portile2-2.1.0 Fetching: nokogiri-1.7.1.gem (100%) Building native extensions. This could take a while... Successfully installed nokogiri-1.7.1 Fetching: loofah-2.0.3.gem (100%) Successfully installed loofah-2.0.3 Fetching: rails-html-sanitizer-1.0.3.gem (100%) Successfully installed rails-html-sanitizer-1.0.3 Fetching: rails-dom-testing-2.0.2.gem (100%) Successfully installed rails-dom-testing-2.0.2 Fetching: builder-3.2.3.gem (100%) Successfully installed builder-3.2.3 Fetching: erubis-2.7.0.gem (100%) Successfully installed erubis-2.7.0 Fetching: actionview-5.0.2.gem (100%) Successfully installed actionview-5.0.2 Fetching: actionpack-5.0.2.gem (100%) Successfully installed actionpack-5.0.2 Fetching: activemodel-5.0.2.gem (100%) Successfully installed activemodel-5.0.2 Fetching: arel-7.1.4.gem (100%) Successfully installed arel-7.1.4 Fetching: activerecord-5.0.2.gem (100%) Successfully installed activerecord-5.0.2 Fetching: globalid-0.4.0.gem (100%) Successfully installed globalid-0.4.0 Fetching: activejob-5.0.2.gem (100%) Successfully installed activejob-5.0.2 Fetching: mime-types-data-3.2016.0521.gem (100%) Successfully installed mime-types-data-3.2016.0521 Fetching: mime-types-3.1.gem (100%) Successfully installed mime-types-3.1 Fetching: mail-2.6.4.gem (100%) Successfully installed mail-2.6.4 Fetching: actionmailer-5.0.2.gem (100%) Successfully installed actionmailer-5.0.2 Fetching: nio4r-2.0.0.gem (100%) Building native extensions. This could take a while... Successfully installed nio4r-2.0.0 Fetching: websocket-extensions-0.1.2.gem (100%) Successfully installed websocket-extensions-0.1.2 Fetching: websocket-driver-0.6.5.gem (100%) Building native extensions. This could take a while... Successfully installed websocket-driver-0.6.5 Fetching: actioncable-5.0.2.gem (100%) Successfully installed actioncable-5.0.2 Fetching: thor-0.19.4.gem (100%) Successfully installed thor-0.19.4 Fetching: method_source-0.8.2.gem (100%) Successfully installed method_source-0.8.2 Fetching: railties-5.0.2.gem (100%) Successfully installed railties-5.0.2 Fetching: bundler-1.14.6.gem (100%) Successfully installed bundler-1.14.6 Fetching: sprockets-3.7.1.gem (100%) Successfully installed sprockets-3.7.1 Fetching: sprockets-rails-3.2.0.gem (100%) Successfully installed sprockets-rails-3.2.0 Fetching: rails-5.0.2.gem (100%) Successfully installed rails-5.0.2 Parsing documentation for i18n-0.8.1 Installing ri documentation for i18n-0.8.1 Parsing documentation for thread_safe-0.3.6 Installing ri documentation for thread_safe-0.3.6 Parsing documentation for tzinfo-1.2.3 Installing ri documentation for tzinfo-1.2.3 Parsing documentation for concurrent-ruby-1.0.5 Installing ri documentation for concurrent-ruby-1.0.5 Parsing documentation for activesupport-5.0.2 Installing ri documentation for activesupport-5.0.2 Parsing documentation for rack-2.0.1 Installing ri documentation for rack-2.0.1 Parsing documentation for rack-test-0.6.3 Installing ri documentation for rack-test-0.6.3 Parsing documentation for mini_portile2-2.1.0 Installing ri documentation for mini_portile2-2.1.0 Parsing documentation for nokogiri-1.7.1 Installing ri documentation for nokogiri-1.7.1 Parsing documentation for loofah-2.0.3 Installing ri documentation for loofah-2.0.3 Parsing documentation for rails-html-sanitizer-1.0.3 Installing ri documentation for rails-html-sanitizer-1.0.3 Parsing documentation for rails-dom-testing-2.0.2 Installing ri documentation for rails-dom-testing-2.0.2 Parsing documentation for builder-3.2.3 Installing ri documentation for builder-3.2.3 Parsing documentation for erubis-2.7.0 Installing ri documentation for erubis-2.7.0 Parsing documentation for actionview-5.0.2 Installing ri documentation for actionview-5.0.2 Parsing documentation for actionpack-5.0.2 Installing ri documentation for actionpack-5.0.2 Parsing documentation for activemodel-5.0.2 Installing ri documentation for activemodel-5.0.2 Parsing documentation for arel-7.1.4 Installing ri documentation for arel-7.1.4 Parsing documentation for activerecord-5.0.2 Installing ri documentation for activerecord-5.0.2 Parsing documentation for globalid-0.4.0 Installing ri documentation for globalid-0.4.0 Parsing documentation for activejob-5.0.2 Installing ri documentation for activejob-5.0.2 Parsing documentation for mime-types-data-3.2016.0521 Installing ri documentation for mime-types-data-3.2016.0521 Parsing documentation for mime-types-3.1 Installing ri documentation for mime-types-3.1 Parsing documentation for mail-2.6.4 Installing ri documentation for mail-2.6.4 Parsing documentation for actionmailer-5.0.2 Installing ri documentation for actionmailer-5.0.2 Parsing documentation for nio4r-2.0.0 Installing ri documentation for nio4r-2.0.0 Parsing documentation for websocket-extensions-0.1.2 Installing ri documentation for websocket-extensions-0.1.2 Parsing documentation for websocket-driver-0.6.5 Installing ri documentation for websocket-driver-0.6.5 Parsing documentation for actioncable-5.0.2 Installing ri documentation for actioncable-5.0.2 Parsing documentation for thor-0.19.4 Installing ri documentation for thor-0.19.4 Parsing documentation for method_source-0.8.2 Installing ri documentation for method_source-0.8.2 Parsing documentation for railties-5.0.2 Installing ri documentation for railties-5.0.2 Parsing documentation for bundler-1.14.6 Installing ri documentation for bundler-1.14.6 Parsing documentation for sprockets-3.7.1 Installing ri documentation for sprockets-3.7.1 Parsing documentation for sprockets-rails-3.2.0 Installing ri documentation for sprockets-rails-3.2.0 Parsing documentation for rails-5.0.2 Installing ri documentation for rails-5.0.2 Done installing documentation for i18n, thread_safe, tzinfo, concurrent-ruby, activesupport, rack, rack-test, mini_portile2, nokogiri, loofah, rails-html-sanitizer, rails-dom-testing, builder, erubis, actionview, actionpack, activemodel, arel, activerecord, globalid, activejob, mime-types-data, mime-types, mail, actionmailer, nio4r, websocket-extensions, websocket-driver, actioncable, thor, method_source, railties, bundler, sprockets, sprockets-rails, rails after 96 seconds 36 gems installed * To start using RVM you need to run `source /usr/local/rvm/scripts/rvm` in all your open shell windows, in rare cases you need to reopen all shell windows. * To start using rails you need to run `rails new `. 16) Tried again, but same error: root@kali:/opt/dradis-ce# bundle exec rails server /var/lib/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:94:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError) Gem Load Error is: wrong argument type Class (expected Module) 17) root@kali:/opt/dradis-ce# source /usr/local/rvm/scripts/rvm ruby-2.2.2 is not installed. To install do: 'rvm install ruby-2.2.2' so ran from here: root@kali:/usr/local/rvm# source /usr/local/rvm/scripts/rvm 18) Closed terminals, reopened: ruby -v ruby 2.3.1p112 (2016-04-26) [i386-linux-gnu] type rvm | head -n 1 rvm is a function 19) Check known versions: _ rvm list known # MRI Rubies [ruby-]1.8.6[-p420] [ruby-]1.8.7[-head] # security released on head [ruby-]1.9.1[-p431] [ruby-]1.9.2[-p330] [ruby-]1.9.3[-p551] [ruby-]2.0.0[-p648] [ruby-]2.1[.10] [ruby-]2.2[.6] [ruby-]2.3[.3] [ruby-]2.4[.0] ruby-head # for forks use: rvm install ruby-head- --url https://github.com/github/ruby.git --branch 2.2 # JRuby jruby-1.6[.8] jruby-1.7[.26] jruby[-9.1.7.0] jruby-head # Rubinius rbx-1[.4.3] rbx-2.3[.0] rbx-2.4[.1] rbx-2[.5.8] rbx[-3.71] rbx-head # Opal opal # Minimalistic ruby implementation - ISO 30170:2012 mruby-1.0.0 mruby-1.1.0 mruby-1[.2.0] mruby[-head] # Ruby Enterprise Edition ree-1.8.6 ree[-1.8.7][-2012.02] # Topaz topaz # MagLev maglev[-head] maglev-1.0.0 # Mac OS X Snow Leopard Or Newer macruby-0.10 macruby-0.11 macruby[-0.12] macruby-nightly macruby-head # IronRuby ironruby[-1.1.3] ironruby-head 20) Installed ruby 2.2.2 n /opt/dradis-ce: root@kali:/opt/dradis-ce# rvm install ruby-2.2.2 Searching for binary rubies, this might take some time. No binary rubies available for: debian/Kali_Linux_Rolling/i386/ruby-2.2.2. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for debian. Installing requirements for debian. Updating system. Installing required packages: libreadline6-dev.. Requirements installation successful. Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.2.2, this may take a while depending on your cpu(s)... ruby-2.2.2 - #downloading ruby-2.2.2, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 12.6M 100 12.6M 0 0 1373k 0 0:00:09 0:00:09 --:--:-- 2253k ruby-2.2.2 - #extracting ruby-2.2.2 to /usr/local/rvm/src/ruby-2.2.2.... ruby-2.2.2 - #applying patch /usr/local/rvm/patches/ruby/2.2.2/fix_installing_bundled_gems.patch. ruby-2.2.2 - #applying patch /usr/local/rvm/patches/ruby/2.2.2/openssl3.patch. ruby-2.2.2 - #configuring......................................................| ruby-2.2.2 - #post-configuration.. ruby-2.2.2 - #compiling........................................................| ruby-2.2.2 - #installing................ ruby-2.2.2 - #making binaries executable.. ruby-2.2.2 - #downloading rubygems-2.6.11 ruby-2.2.2 - #extracting rubygems-2.6.11..... ruby-2.2.2 - #removing old rubygems......... ruby-2.2.2 - #installing rubygems-2.6.11...................... ruby-2.2.2 - #gemset created /usr/local/rvm/gems/ruby-2.2.2@global ruby-2.2.2 - #importing gemset /usr/local/rvm/gemsets/global.gems..............| ruby-2.2.2 - #generating global wrappers........ ruby-2.2.2 - #gemset created /usr/local/rvm/gems/ruby-2.2.2 ruby-2.2.2 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list ruby-2.2.2 - #generating default wrappers........ ruby-2.2.2 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). Install of ruby-2.2.2 - #complete Please be aware that you just installed a ruby that requires 2 patches just to be compiled on an up to date linux system. This may have known and unaccounted for security vulnerabilities. Please consider upgrading to ruby-2.4.0 which will have all of the latest security patches. Ruby was built without documentation, to build it run: rvm docs generate-ri 21) root@kali:/opt/dradis-ce# source /usr/local/rvm/scripts/rvm root@kali:/opt/dradis-ce# type rvm | head -n 1 rvm is a function 22) bundle exec rails server /usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'bundler' (>= 0.a) among 13 total gem(s) (Gem::LoadError) Checked in 'GEM_PATH=/usr/local/rvm/gems/ruby-2.2.2:/usr/local/rvm/gems/ruby-2.2.2@global', execute `gem env` for more information from /usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem' from /usr/local/bin/bundle:22:in `
' 23) root@kali:/opt/dradis-ce# gem install rubygems-bundler Fetching: rubygems-bundler-1.4.4.gem (100%) Successfully installed rubygems-bundler-1.4.4 Parsing documentation for rubygems-bundler-1.4.4 Installing ri documentation for rubygems-bundler-1.4.4 Done installing documentation for rubygems-bundler after 0 seconds 1 gem installed 25) root@kali:/opt/dradis-ce# gem regenerate_binstubs try also: gem pristine --binstubs executable-hooks 1.3.2 rake 10.4.2 rdoc 4.2.0 26) Same error: root@kali:/opt/dradis-ce# bundle exec rails server /usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'bundler' (>= 0.a) among 13 total gem(s) (Gem::LoadError) Checked in 'GEM_PATH=/usr/local/rvm/gems/ruby-2.2.2:/usr/local/rvm/gems/ruby-2.2.2@global', execute `gem env` for more information from /usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem' from /usr/local/bin/bundle:22:in `
' 27) checked gem env: gem env RubyGems Environment: - RUBYGEMS VERSION: 2.6.11 - RUBY VERSION: 2.2.2 (2015-04-13 patchlevel 95) [i686-linux] - INSTALLATION DIRECTORY: /usr/local/rvm/gems/ruby-2.2.2 - USER INSTALLATION DIRECTORY: /root/.gem/ruby/2.2.0 - RUBY EXECUTABLE: /usr/local/rvm/rubies/ruby-2.2.2/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/rvm/gems/ruby-2.2.2/bin - SPEC CACHE DIRECTORY: /root/.gem/specs - SYSTEM CONFIGURATION DIRECTORY: /usr/local/rvm/rubies/ruby-2.2.2/etc - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /usr/local/rvm/gems/ruby-2.2.2 - /usr/local/rvm/gems/ruby-2.2.2@global - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - https://rubygems.org/ - SHELL PATH: - /usr/local/rvm/gems/ruby-2.2.2/bin - /usr/local/rvm/gems/ruby-2.2.2@global/bin - /usr/local/rvm/rubies/ruby-2.2.2/bin - /usr/local/rvm/bin - /usr/local/sbin - /usr/local/bin - /usr/sbin - /usr/bin - /sbin - /bin - /root/Desktop/KaliShare/code/bash - /root/Desktop/tools/enumeration/onetwopunch-master 28) root@kali:/opt/dradis-ce# rvm info ruby-2.2.2: system: uname: "Linux kali 4.6.0-kali1-686 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) i686 GNU/Linux" name: "Debian" version: "Kali_Linux_Rolling" architecture: "i386" bash: "/bin/bash => GNU bash, version 4.3.46(1)-release (i686-pc-linux-gnu)" zsh: "/usr/bin/zsh => zsh 5.2 (i586-debian-linux-gnu)" remote path: "debian/Kali_Linux_Rolling/i386" rvm: version: "rvm 1.29.1 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]" updated: "59 minutes 8 seconds ago" path: "/usr/local/rvm" autolibs: "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)." ruby: interpreter: "ruby" version: "2.2.2p95" date: "2015-04-13" platform: "i686-linux" patchlevel: "2015-04-13 revision 50295" full_version: "ruby 2.2.2p95 (2015-04-13 revision 50295) [i686-linux]" homes: gem: "/usr/local/rvm/gems/ruby-2.2.2" ruby: "/usr/local/rvm/rubies/ruby-2.2.2" binaries: ruby: "/usr/local/rvm/rubies/ruby-2.2.2/bin/ruby" irb: "/usr/local/rvm/rubies/ruby-2.2.2/bin/irb" gem: "/usr/local/rvm/rubies/ruby-2.2.2/bin/gem" rake: "/usr/local/rvm/rubies/ruby-2.2.2/bin/rake" environment: PATH: "/usr/local/rvm/gems/ruby-2.2.2/bin:/usr/local/rvm/gems/ruby-2.2.2@global/bin:/usr/local/rvm/rubies/ruby-2.2.2/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/Desktop/KaliShare/code/bash:/root/Desktop/tools/enumeration/onetwopunch-master" GEM_HOME: "/usr/local/rvm/gems/ruby-2.2.2" GEM_PATH: "/usr/local/rvm/gems/ruby-2.2.2:/usr/local/rvm/gems/ruby-2.2.2@global" MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-2.2.2" IRBRC: "/usr/local/rvm/rubies/ruby-2.2.2/.irbrc" RUBYOPT: "" gemset: "" 29) Installed bundler in /opt/dradis-ce root@kali:/opt/dradis-ce# gem install bundler Fetching: bundler-1.14.6.gem (100%) Successfully installed bundler-1.14.6 Parsing documentation for bundler-1.14.6 Installing ri documentation for bundler-1.14.6 Done installing documentation for bundler after 7 seconds 1 gem installed 30) bundle exec rails server Could not find rake-12.0.0 in any of the sources Run `bundle install` to install missing gems. 31) ran a bundle install: root@kali:/opt/dradis-ce# bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Fetching https://github.com/dradis/dradis-plugins.git Fetching https://github.com/dradis/dradis-projects.git Installing rake 12.0.0 Installing RedCloth 4.3.1 with native extensions Installing concurrent-ruby 1.0.5 Installing i18n 0.8.1 Installing minitest 5.10.1 Installing thread_safe 0.3.6 Installing builder 3.2.3 Installing erubis 2.7.0 Installing mini_portile2 2.1.0 Installing rack 2.0.1 Installing nio4r 2.0.0 with native extensions Installing websocket-extensions 0.1.2 Installing mime-types-data 3.2016.0521 Installing arel 7.1.4 Installing public_suffix 2.0.5 Installing ast 2.3.0 Installing bcrypt 3.1.10 with native extensions Installing bindex 0.5.0 with native extensions Installing blankslate 2.1.2.4 Installing sass 3.4.23 Installing brakeman 3.6.1 Installing uniform_notifier 1.10.0 Using bundler 1.14.6 Installing thor 0.19.4 Installing byebug 9.0.6 with native extensions Installing cancancan 1.16.0 Installing chronic 0.10.2 Installing cliver 0.3.2 Installing coderay 1.1.1 Installing coffee-script-source 1.12.2 Installing execjs 2.7.0 Installing method_source 0.8.2 Installing database_cleaner 1.5.3 Installing diff-lcs 1.3 Installing differ 0.1.2 Using dradis-plugins 3.6.0 from https://github.com/dradis/dradis-plugins.git (at master@fba8ff8) Installing multi_json 1.12.1 Installing rprogram 0.3.2 Installing rubyzip 1.2.1 Installing ffi 1.9.18 with native extensions Installing formatador 0.2.5 Installing rb-fsevent 0.9.8 Installing lumberjack 1.0.11 Installing nenv 0.3.0 Installing shellany 0.0.1 Installing slop 3.6.0 Installing guard-compat 1.2.1 Installing rspec-support 3.5.0 Installing image_size 1.3.1 Installing json 1.8.2 with native extensions Installing kgio 2.11.0 with native extensions Installing libv8 3.16.14.19 (x86-linux) Installing mono_logger 1.1.0 Installing mustermann 1.0.0.beta2 Installing mysql2 0.3.18 with native extensions Installing request_store 1.3.2 Installing powerpack 0.1.1 Installing rainbow 2.2.1 with native extensions Installing raindrops 0.18.0 with native extensions Installing redis 3.3.3 Installing ref 2.0.0 Installing tilt 2.0.7 Installing rinku 2.0.2 with native extensions Installing ruby-progressbar 1.8.1 Installing unicode-display_width 1.2.1 Installing sqlite3 1.3.13 with native extensions Installing timecop 0.8.1 Installing turbolinks-source 5.0.0 Installing tzinfo 1.2.3 Installing nokogiri 1.7.1 with native extensions Installing rack-test 0.6.3 Installing sprockets 3.7.1 Installing rack-protection 2.0.0.beta2 Installing vegas 0.1.11 Installing warden 1.2.7 Installing websocket-driver 0.6.5 with native extensions Installing mime-types 3.1 Installing addressable 2.5.1 Installing parser 2.4.0.0 Installing parslet 1.4.0 Installing bootstrap-sass 2.3.2.2 Installing font-awesome-sass 4.7.0 Installing bundler-audit 0.5.0 Installing foreman 0.84.0 Installing whenever 0.9.7 Installing coffee-script 2.4.1 Installing uglifier 3.0.4 Using dradis-brakeman 3.0.1 from source at `../dradis-brakeman` Installing dradis-calculator_cvss 3.6.0 Installing dradis-calculator_dread 3.6.0 Using dradis-csv 3.3.1 from source at `../dradis-csv` Using dradis-ntospider 3.1.2 from source at `../dradis-ntospider` Using dradis-openvas 3.1.0 from source at `../dradis-openvas` Using dradis-projects 3.6.0 from https://github.com/dradis/dradis-projects.git (at master@1c29dd1) Installing rb-inotify 0.9.8 Installing notiffany 0.1.1 Installing pry 0.10.4 Installing rspec-core 3.5.4 Installing rspec-expectations 3.5.0 Installing rspec-mocks 3.5.0 Installing unicorn 4.9.0 with native extensions Installing redis-namespace 1.5.3 Installing therubyracer 0.12.3 with native extensions Installing turbolinks 5.0.1 Installing activesupport 5.0.2 Installing loofah 2.0.3 Installing xpath 2.0.0 Using dradis-acunetix 3.2.1 from source at `../dradis-acunetix` Installing dradis-burp 3.6.0 Using dradis-metasploit 3.0.1 from source at `../dradis-metasploit` Installing dradis-nessus 3.6.0 Using dradis-nexpose 3.1.1 from source at `../dradis-nexpose` Using dradis-nikto 2.9.1 from source at `../dradis-nikto` Installing ruby-nmap 0.9.2 Installing dradis-qualys 3.6.0 Installing dradis-zap 3.6.0 Installing sinatra 2.0.0.beta2 Installing mail 2.6.4 Installing launchy 2.4.3 Installing rubocop 0.48.1 Installing listen 3.0.8 Installing rspec 3.5.0 Installing rails-dom-testing 2.0.2 Installing globalid 0.4.0 Installing activemodel 5.0.2 Installing bullet 5.5.1 Installing jbuilder 2.6.3 Installing factory_girl 4.8.0 Installing html-pipeline 2.5.0 Installing shoulda-matchers 3.1.1 Installing spring 2.0.1 Installing rails-html-sanitizer 1.0.3 Installing capybara 2.13.0 Installing dradis-nmap 3.6.0 Installing resque 1.27.4 Installing letter_opener 1.4.1 Installing guard 2.14.1 Installing rerun 0.11.0 Installing activejob 5.0.2 Installing activerecord 5.0.2 Using dradis-api 0.0.1 from source at `engines/dradis-api` Installing spring-watcher-listen 2.0.1 Installing actionview 5.0.2 Installing poltergeist 1.14.0 Installing resque-status 0.5.0 Installing guard-rspec 4.7.3 Installing acts_as_tree 2.6.1 Installing paper_trail 4.0.2 Installing actionpack 5.0.2 Installing record_tag_helper 1.0.0 Installing actioncable 5.0.2 Installing actionmailer 5.0.2 Installing railties 5.0.2 Installing sprockets-rails 3.2.0 Installing kaminari 0.16.3 Installing simple_form 3.4.0 Installing coffee-rails 4.2.1 Installing factory_girl_rails 4.8.0 Installing jquery-fileupload-rails 0.3.5 Installing jquery-hotkeys-rails 0.7.9.1 Installing jquery-rails 4.3.1 Installing jquery-ui-rails 6.0.1 Installing rspec-rails 3.5.2 Installing web-console 3.5.0 Installing rails 5.0.2 Installing sass-rails 5.0.6 Installing local_time 1.0.3 Installing rails_autolink 1.1.6 Installing dradis-html_export 3.3.3 Bundle complete! 79 Gemfile dependencies, 169 gems now installed. Use `bundle show [gemname]` to see where a bundled gem is installed. Post-install message from brakeman: Thank you for using Brakeman! Please consider supporting future development with Brakeman Pro: https://brakemanpro.com/ Post-install message from html-pipeline: ------------------------------------------------- Thank you for installing html-pipeline! You must bundle Filter gem dependencies. See html-pipeline README.md for more details. https://github.com/jch/html-pipeline#dependencies ------------------------------------------------- 32) now, finally bundle exec rails server runs successfully in /opt/dradis-ce/ DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) => Booting WEBrick => Rails 5.0.2 application starting in development on http://localhost:3000 => Run `rails server -h` for more startup options [2017-04-21 00:17:16] INFO WEBrick 1.3.1 [2017-04-21 00:17:16] INFO ruby 2.2.2 (2015-04-13) [i686-linux] [2017-04-21 00:17:16] INFO WEBrick::HTTPServer#start: pid=17204 port=3000 33) Finally adjust my bash scripts to use rvm: #!/bin/bash cd /opt/dradis-ce/ source /usr/local/rvm/scripts/rvm bundle exec rails server done #!/bin/bash cd /usr/lib/dradis/ redis-server done #!/bin/bash cd /usr/lib/dradis/ bundle exec rake resque:work done 34) Opened Firefox to: http://localhost:3000/summary ActiveRecord::PendingMigrationError Migrations are pending. To resolve this issue, run: bin/rails db:migrate RAILS_ENV=development Extracted source (around line #573): 571 572 573 574 575 576 # Raises ActiveRecord::PendingMigrationError error if any migrations are pending. def check_pending!(connection = Base.connection) raise ActiveRecord::PendingMigrationError if ActiveRecord::Migrator.needs_migration?(connection) end def load_schema_if_pending! Rails.root: /opt/dradis-ce Application Trace | Framework Trace | Full Trace activerecord (5.0.2) lib/active_record/migration.rb:573:in `check_pending!' activerecord (5.0.2) lib/active_record/migration.rb:549:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.2) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.2) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.2) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.2) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' web-console (3.5.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.5.0) lib/web_console/middleware.rb:28:in `block in call' web-console (3.5.0) lib/web_console/middleware.rb:18:in `catch' web-console (3.5.0) lib/web_console/middleware.rb:18:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.2) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.2) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.2) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.2) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.2) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.2) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.2) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.1) lib/rack/urlmap.rb:53:in `each' rack (2.0.1) lib/rack/urlmap.rb:53:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /usr/local/rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Request Parameters: None Toggle session dump Toggle env dump Response Headers: None 35) Ran bundle exec rake db:migrate RAILS_ENV=development root@kali:/opt/dradis-ce# bundle exec rake db:migrate RAILS_ENV=development DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) == 1 CreateNodes: migrating =================================================== -- create_table(:nodes, {}) -> 0.0015s == 1 CreateNodes: migrated (0.0017s) ========================================== == 2 CreateCategories: migrating ============================================== -- create_table(:categories, {}) -> 0.0008s == 2 CreateCategories: migrated (0.0009s) ===================================== == 3 CreateNotes: migrating =================================================== -- create_table(:notes, {}) -> 0.0008s == 3 CreateNotes: migrated (0.0010s) ========================================== == 4 CreateConfigurations: migrating ========================================== -- create_table(:configurations, {}) -> 0.0008s == 4 CreateConfigurations: migrated (0.0009s) ================================= == 5 CreateUsers: migrating =================================================== -- create_table("users", {:force=>true}) -> 0.0010s == 5 CreateUsers: migrated (0.0011s) ========================================== == 6 CreateFeeds: migrating =================================================== -- create_table(:feeds, {}) -> 0.0009s == 6 CreateFeeds: migrated (0.0010s) ========================================== == 20100914103222 CreateLogs: migrating ======================================= -- create_table(:logs, {}) -> 0.0017s == 20100914103222 CreateLogs: migrated (0.0018s) ============================== == 20100914104742 CreateDelayedJobs: migrating ================================ -- create_table(:delayed_jobs, {:force=>true}) -> 0.0015s -- add_index(:delayed_jobs, [:priority, :run_at], {:name=>"delayed_jobs_priority"}) -> 0.0009s == 20100914104742 CreateDelayedJobs: migrated (0.0034s) ======================= == 20101029150104 BjMigration: migrating ====================================== == 20101029150104 BjMigration: migrated (0.0000s) ============================= == 20120125145135 CleanApplicationSettings: migrating ========================= == 20120125145135 CleanApplicationSettings: migrated (0.0177s) ================ == 20120131171008 BjRails32Compatibility: migrating =========================== == 20120131171008 BjRails32Compatibility: migrated (0.0000s) ================== == 20120212153131 AddPostionToNode: migrating ================================= -- add_column(:nodes, :position, :integer) -> 0.0012s == 20120212153131 AddPostionToNode: migrated (0.0014s) ======================== == 20120314102500 SettingsAddTemplatePath: migrating ========================== == 20120314102500 SettingsAddTemplatePath: migrated (0.0035s) ================= == 20120903184931 SettingsAddProjectAndMethodologyPaths: migrating ============ == 20120903184931 SettingsAddProjectAndMethodologyPaths: migrated (0.0041s) === == 20121122152413 CreateEvidence: migrating =================================== -- create_table(:evidence, {}) -> 0.0016s == 20121122152413 CreateEvidence: migrated (0.0027s) ========================== == 20131002215400 CleanOpenvasSettings: migrating ============================= == 20131002215400 CleanOpenvasSettings: migrated (0.0005s) ==================== == 20131020210532 CreateTags: migrating ======================================= -- create_table(:tags, {}) -> 0.0044s == 20131020210532 CreateTags: migrated (0.0077s) ============================== == 20131020211717 CreateTaggings: migrating =================================== -- create_table(:taggings, {}) -> 0.0024s == 20131020211717 CreateTaggings: migrated (0.0025s) ========================== == 20140129152606 FixBjIndex: migrating ======================================= == 20140129152606 FixBjIndex: migrated (0.0000s) ============================== == 20140310095850 AddAdminToGlobalSettingNames: migrating ===================== == 20140310095850 AddAdminToGlobalSettingNames: migrated (0.0007s) ============ == 20140509082240 RemoveBjTables: migrating =================================== -- drop_table(:delayed_jobs) -> 0.0011s == 20140509082240 RemoveBjTables: migrated (0.0025s) ========================== == 20140701093644 CleanPluginSettings: migrating ============================== == 20140701093644 CleanPluginSettings: migrated (0.0044s) ===================== == 20140828090901 RenameLegacyTags: migrating ================================= == 20140828090901 RenameLegacyTags: migrated (0.0081s) ======================== == 20150116185942 AddPropertiesToNodes: migrating ============================= -- add_column(:nodes, :properties, :text) -> 0.0013s == 20150116185942 AddPropertiesToNodes: migrated (0.0014s) ==================== == 20150323161343 RemoveFeeds: migrating ====================================== -- drop_table(:feeds) -> 0.0018s == 20150323161343 RemoveFeeds: migrated (0.0019s) ============================= == 20151014171837 CreateActivities: migrating ================================= -- create_table(:activities, {}) -> 0.0013s -- add_index(:activities, [:trackable_id, :trackable_type]) -> 0.0006s -- add_index(:activities, :created_at) -> 0.0008s == 20151014171837 CreateActivities: migrated (0.0038s) ======================== == 20151119124120 CreateVersions: migrating =================================== -- create_table(:versions, {}) -> 0.0011s -- add_index(:versions, [:item_type, :item_id]) -> 0.0005s == 20151119124120 CreateVersions: migrated (0.0027s) ========================== == 20151125113829 IndexForeignKeys: migrating ================================= -- add_index(:evidence, :node_id) -> 0.0016s -- add_index(:evidence, :issue_id) -> 0.0009s -- add_index(:nodes, :type_id) -> 0.0005s -- add_index(:nodes, :parent_id) -> 0.0008s -- add_index(:notes, :node_id) -> 0.0005s -- add_index(:notes, :category_id) -> 0.0008s == 20151125113829 IndexForeignKeys: migrated (0.0062s) ======================== == 20151125115836 IndexColumnsWithUniquenessValidations: migrating ============ -- add_index(:configurations, :name, {:unique=>true}) -> 0.0009s -- add_index(:taggings, [:tag_id, :taggable_id, :taggable_type], {:unique=>true}) -> 0.0014s == 20151125115836 IndexColumnsWithUniquenessValidations: migrated (0.0039s) === == 20160629084016 AddChildrenCountToNodes: migrating ========================== -- add_column(:nodes, :children_count, :integer, {:default=>0, :null=>false}) -> 0.0006s == 20160629084016 AddChildrenCountToNodes: migrated (0.0072s) ================= 36) Closed Firefox, closed my three dradis bash script terminals, restarted each and opened Firefox: 37) Success! A login page: Configure the shared password x Hold your horses! This server does not have a password yet, please set up one: Password Confirm Password http://dradisframework.org Logo tiny 38) Added a shared password, same as previous 39) Now logged in to v3.6.0! Awesome! Search box, check. Trash Can, check. We'll expore the rest later... 40) My previous project data has disappeared, probably because I was previously running bundle exec rails server from the /usr/lib/dradis folder. when it should have been from opt/dradis-ce. But that's what backups are for! 41) Import my backed 20MB up Dradis Package: 22:40:44] Enqueueing job to start in the background. [22:40:44] Job id is 1eac0ebb-ad54-43b9-bf13-f28e925c7a69. 42) Waited patiently watching the console log window, hardly consuming much CPU and only 1.8GB RAM :) Thousands of instances like this: Started GET "/upload/status?item_id=2&after=2&_=1492728015118" for ::1 at 2017-04-21 01:08:46 +0200 Processing by UploadController#status as JS Parameters: {"item_id"=>"2", "after"=>"2", "_"=>"1492728015118"} (0.2ms) SELECT COUNT(*) FROM "logs" WHERE (uid = 2 and id > 2) Rendering upload/status.js.erb CACHE (0.0ms) SELECT COUNT(*) FROM "logs" WHERE (uid = 2 and id > 2) Rendered upload/status.js.erb (1.2ms) Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 0.2ms) 43) Wondered if my customised issue / notes / evidence templates and HTML export template would be retained, along with the OSCP compliance template and methodologies? No worries, I have backups of them all if necessary. 44) After 12+ hours nothing had imported. Checked: http://localhost:3000/jobs/failed and saw: kali:18199 on dradis_upload at about 18 hours ago Class UploadJob (via ActiveJob) Arguments --- job_class: UploadJob job_id: 1eac0ebb-ad54-43b9-bf13-f28e925c7a69 queue_name: dradis_upload priority: arguments: - file: "/opt/dradis-ce/attachments/3/dradis-export+20th+Apr.zip" plugin_name: Dradis::Plugins::Projects::Upload::Package uid: 2 _aj_symbol_keys: - file - plugin_name - uid locale: en Exception NameError Error uninitialized constant UploadJob Error uninitialized constant UploadJob /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in `const_get' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:261:in `block in constantize' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `each' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `inject' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/inflector/methods.rb:259:in `constantize' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.6/lib/active_job/core.rb:28:in `deserialize' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.6/lib/active_job/execution.rb:20:in `execute' /usr/lib/dradis/vendor/bundle/ruby/2.3.0/gems/activejob-4.2.6/lib/active_job/queue_adapters/resque_adapter.rb:46:in `perform' 45) After 12+ hours nothing had imported. I realised that the Dradis services were running from different locations. I seem to be running into these problems, perhaps due to the original Kali install of Dradis and me not being sure where to run things. /opt/dradis-ce bundle exec rails server /usr/lib/dradis/ redis-server bundle exec rake resque:work 46) So changed all locations to /opt/dradis-ce and tried again. This time the process completed, but I don't have any data in Dradis.Note the error at the end of the Output: "Invalid project template format."? bundle exec rails server redis-server bundle exec rake resque:work Note I had created a customised version of dradis_template-oscp.v0.3.html.erb that was working fine in Dradis 3.1.0RC2, and the project was exported as a package. [17:17:04] Enqueueing job to start in the background. [17:17:04] Job id is 62e562e4-9913-4ccb-9057-64e73e225668. [17:17:06] Running Ruby version 2.2.2 [17:17:06] Worker process starting background task. [17:17:06] Uncompressing the file... [17:17:06] 3/dradis_template-oscp.v0.3.html.erb [17:17:06] 3/msf_db_export [17:17:07] 3/export.xml [17:17:07] 3/OpenVAS_v8_full_fast.xml [17:17:07] 3/lab_nikto_http.xml [17:17:07] 3/14.2.3_lab_vnc_open.xml [17:17:07] 3/msf_dradis_export [17:17:07] 54/Screen Shot 2016-08-24 at 3.35.23 PM.png [17:17:07] 55/dradispro.png [17:17:07] 743/15449_exploit_wireshark.png [17:17:07] 743/15449_edited.pl [17:17:07] 743/proof,txt [17:17:07] 743/15449_execute.png [17:17:07] 743/16851.rb [17:17:07] 743/susie_root_shell.png [17:17:07] 743/etc_shadow.txt [17:17:07] 743/15449.pl [17:17:07] 747/rdp_administrator.png [17:17:07] 747/10.11.1.5.pwdump [17:17:07] 747/add_administrator.png [17:17:07] 747/proof_screenshot.png [17:17:07] 747/10.11.1.5.cachedump [17:17:07] 747/users.txt [17:17:07] 747/bank-account-alice.hashes [17:17:07] 747/rdp 10.11.1.5 - alice.sh [17:17:07] 747/hashes_clean.txt [17:17:07] 747/40279_windows-shell_reverse_tcp_payload.py [17:17:07] 747/bank-account-alice.zip [17:17:07] 747/alice_shell.png [17:17:08] 747/bank-account-hashes.lst [17:17:08] 750/10.11.1.230_proof.txt [17:17:08] 750/kevin_shell.png [17:17:08] 750/10.11.1.230_network-secrets.txt [17:17:08] 750/10099_original.py [17:17:08] 750/10.11.1.230_nikto_scan.xml [17:17:08] 750/add_administrator.png [17:17:08] 750/version_info.png [17:17:08] 750/10099_customised.py [17:17:08] 750/rdp 10.11.1.230 - kevin.sh [17:17:08] 750/10.11.1.230_pwdump.txt [17:17:08] 758/10.11.1.217_nikto_scan [17:17:08] 758/passwd.txt [17:17:08] 758/18650_original.py [17:17:08] 758/version_info.png [17:17:08] 758/hotline_shell.png [17:17:08] 758/18650_customised.py [17:17:08] 767/payday_root_shell.png [17:17:08] 767/LinEnum_results.txt [17:17:08] 767/10.11.1.24_nikto.xml [17:17:08] 767/enum4results.txt [17:17:08] 767/linuxprivchecker.py [17:17:08] 767/linuxpriv_results.txt [17:17:08] 767/payday-shell_www-data.png [17:17:08] 782/10.11.1.14_nikto.xml [17:17:08] 782/bob2_reconfigure_services.png [17:17:08] 782/root [17:17:08] 782/bob2_shell.png [17:17:08] 782/smallusers_commas.txt [17:17:08] 782/rdp 10.11.1.14.sh [17:17:08] 782/RSAKey.cfg [17:17:08] 782/10.11.1.14.pwdump [17:17:08] 782/index.htm [17:17:08] 782/bob2_root_shell.png [17:17:08] 782/bob_sha1_hash [17:17:08] 782/ftp_upload_payload.png [17:17:08] 782/snmp-check_10.11.1.14.txt [17:17:08] 782/10.11.1.14_onesixtyone_snmp_community.txt [17:17:08] 782/proof.txt [17:17:08] 782/DSAKey.cfg [17:17:08] 782/windows_shell_reverse_tcp.asp [17:17:08] 782/snmp.txt [17:17:09] 807/10.11.0.73_gamma_hashes.txt [17:17:09] 807/snmp-check_10.11.1.73.txt [17:17:09] 807/31853.exe [17:17:09] 807/gamma_shell_jill.png [17:17:09] 807/php-reverse-shell_edit.php [17:17:09] 807/exploit_files_uploaded.png [17:17:09] 807/exploit_31853_gamma_root.png [17:17:09] 807/rdp_10.11.1.73.sh [17:17:09] 807/windows-privesc-check.exe [17:17:09] 807/proof.txt [17:17:09] 807/netstat_ano_10.11.1.73.txt [17:17:09] 807/then_comes_gamma.png [17:17:09] 807/gamma_administrator_proof.png [17:17:09] 807/wpc_10.11.1.73_gamma.html [17:17:09] 813/GuildFTPd.exe [17:17:09] 813/network_secret.png [17:17:09] 813/joe_metasploit_root.png [17:17:09] 813/joe_proof_network_secret.png [17:17:09] 813/guild_ntdll.png [17:17:09] 813/servers.py [17:17:09] 813/GuildFTPd.exe_version.png [17:17:09] 813/ntdll.dll [17:17:09] 828/ryuu_beta_shell.png [17:17:09] 828/proof_txt.png [17:17:09] 828/linuxprivchecker_10.11.1.72 [17:17:09] 828/35513.py [17:17:09] 828/memodipper.c [17:17:09] 828/proof.txt [17:17:09] 828/root_beta_shell.png [17:17:09] 828/etc_shadow.txt [17:17:09] 837/boot.ini [17:17:09] 837/minishare.ini [17:17:09] 837/616_WinXPSP3_French.exe [17:17:09] 837/ntdll_10.11.1.125.png [17:17:09] 837/root_shell_sherlock.png [17:17:09] 837/proof.png [17:17:09] 837/616_WinXPSP3_French.c [17:17:09] 837/15445.txt [17:17:09] 837/sherlock.png [17:17:09] 837/exploit_sherlock.png [17:17:09] 837/ntdllfem.dll [17:17:09] 839/dotty_rooted.png [17:17:09] 839/dotty_shell_www.png [17:17:09] 839/php_inject_path.png [17:17:09] 839/phpliteadmin_code_inject.png [17:17:10] 839/26368.c [17:17:10] 853/coldfusion_traversal_10.11.1.10.png [17:17:10] 853/ftp_get_wtrs_system444.exe.png [17:17:10] 853/coldfusion_dir.txt.png [17:17:10] 853/coldfusion_upload_task_10.11.1.10.png [17:17:10] 853/run_task_upload_webshell_10.11.1.10.png [17:17:10] 853/ipconfig_all_results_10.11.1.10.png [17:17:10] 853/ftp_script.png [17:17:10] 853/ipconfig_all_10.11.1.10.png [17:17:10] 853/execute_payload.png [17:17:10] 853/proof.txt.png [17:17:10] 853/ftp_commands.png [17:17:10] 853/dir_payload.png [17:17:10] 853/root_shell.png [17:17:10] dradis-repository.xml [17:17:10] Done. [17:17:10] Loading XML template file... [17:17:10] Loading template file from: /opt/dradis-ce/tmp/zip/dradis-repository.xml [17:17:10] Done. [17:17:10] Invalid project template format. [17:17:10] Done. [17:17:10] Moving attachments to their final destinations... [17:17:10] undefined method `[]' for false:FalseClass [17:17:10] Worker process completed. 47) Tried: RAILS_ENV=production bundle exec thor dradis root@kali:/opt/dradis-ce# RAILS_ENV=production bundle exec thor dradis DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) Loaded add-ons: acunetix - Processes Acunetix XML format api - Dradis REST HTTP API brakeman - Processes Brakeman JSON output, use: brakeman -f json -o results.json burp - Processes Burp Scanner XML output csv - Export results in CSV format WARNING: unable to load thorfile "/opt/dradis-ce/Thorfile": undefined method `thor_helper_module' for Dradis::Plugins:Module /opt/dradis-csv/lib/tasks/thorfile.rb:2:in `' Commands: thor dradis:backup # creates a backup of your current repository thor dradis:help [COMMAND] # Describe available commands or one specifi... thor dradis:logs:clean DAYS # delete all logs older than DAYS days (defa... thor dradis:reset # resets your local dradis repository thor dradis:reset:attachments # removes all attachments thor dradis:reset:database # removes all data from a dradis repository,... thor dradis:reset:logs # removes all log files thor dradis:reset:password # Set a new shared password to access the we... thor dradis:server # start dradis server thor dradis:setup:configure # Creates the Dradis configuration files fro... thor dradis:setup:migrate # ensures the database schema is up-to-date thor dradis:setup:seed # adds initial values to the database (i.e.,... thor dradis:version # displays the version of the dradis server 48) Tried in /opt/dradis-ce/ to run RAILS_ENV=production bundle exec thor -T RAILS_ENV=production bundle exec thor -T DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) Loaded add-ons: acunetix - Processes Acunetix XML format api - Dradis REST HTTP API brakeman - Processes Brakeman JSON output, use: brakeman -f json -o results.json burp - Processes Burp Scanner XML output csv - Export results in CSV format WARNING: unable to load thorfile "/opt/dradis-ce/Thorfile": undefined method `thor_helper_module' for Dradis::Plugins:Module /opt/dradis-csv/lib/tasks/thorfile.rb:2:in `' dradis ------ thor dradis:backup # creates a backup of your current repository thor dradis:logs:clean DAYS # delete all logs older than DAYS days (default 7) thor dradis:plugins:acunetix:upload FILE # upload Acunetix XML results thor dradis:plugins:brakeman:upload FILE # upload Brakeman results in JSON format thor dradis:plugins:burp:upload FILE # upload Burp XML results thor dradis:reset # resets your local dradis repository thor dradis:reset:attachments # removes all attachments thor dradis:reset:database # removes all data from a dradis repository, except configurations thor dradis:reset:logs # removes all log files thor dradis:reset:password # Set a new shared password to access the web interface thor dradis:server # start dradis server thor dradis:setup:configure # Creates the Dradis configuration files from their templates (see config/*.yml.template) thor dradis:setup:migrate # ensures the database schema is up-to-date thor dradis:setup:seed # adds initial values to the database (i.e., categories and configurations) thor dradis:version # displays the version of the dradis server root ---- rails generate base [options] # Description: Create rails files for base generator. rails generate named_base NAME [options] # Description: Create rails files for named_base generator. 49) Tried /opt/dradis-ce/ RAILS_ENV=production bundle exec thor dradis:version RAILS_ENV=production bundle exec thor dradis:version DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from at /opt/dradis-ce/config/application.rb:16) Loaded add-ons: acunetix - Processes Acunetix XML format api - Dradis REST HTTP API brakeman - Processes Brakeman JSON output, use: brakeman -f json -o results.json burp - Processes Burp Scanner XML output csv - Export results in CSV format WARNING: unable to load thorfile "/opt/dradis-ce/Thorfile": undefined method `thor_helper_module' for Dradis::Plugins:Module /opt/dradis-csv/lib/tasks/thorfile.rb:2:in `' /usr/local/rvm/gems/ruby-2.2.2/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require': cannot load such file -- lib/core/version (LoadError) from /usr/local/rvm/gems/ruby-2.2.2/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `block in require' from /usr/local/rvm/gems/ruby-2.2.2/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency' from /usr/local/rvm/gems/ruby-2.2.2/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in `require' from /opt/dradis-ce/lib/tasks/thorfile.rb:79:in `version' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/command.rb:27:in `run' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/base.rb:444:in `start' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/runner.rb:44:in `method_missing' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/command.rb:29:in `run' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/command.rb:126:in `run' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/lib/thor/base.rb:444:in `start' from /usr/local/rvm/gems/ruby-2.2.2/gems/thor-0.19.4/bin/thor:6:in `' from /usr/local/rvm/gems/ruby-2.2.2/bin/thor:22:in `load' from /usr/local/rvm/gems/ruby-2.2.2/bin/thor:22:in `
' from /usr/local/rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval' from /usr/local/rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `
' 50 ) /opt/dradis-csv/lib/tasks/thorfile.rb, line 2: include Dradis::Plugins::thor_helper_module.to_s.constantize 51)