So I was trying to use the thor command line to upload a metasploit import and I get this output:
So far everything else seems to be working OK. What implications does this have and how can this be resolved?
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 <top (required)> 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 <top (required)> at /opt/dradis-ce/config/application.rb:16)
WARNING: unable to load thorfile “/opt/dradis-ce/Thorfile”: uninitialized constant Rack::Session::Abstract::Persisted
/var/lib/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/session/abstract_store.rb:90:in `module:Session’
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: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 …
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 …
thor dradis:setup:migrate # ensures the database schema is up-to-date
thor dradis:setup:seed # adds initial values to the database (i.e., categor…
thor dradis:version # displays the version of the dradis server
root
rails generate base [options] # Description: Create rails files for bas…
rails generate named_base NAME [options] # Description: Create rails files for nam…
Investigating the ruby file this line is throwing the exception:
/var/lib/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/session/abstract_store.rb
Line 90:
class AbstractStore < Rack::Session::Abstract::Persisted
The Thorfile is sitting right there in the directory
Ideas?