Open francisuk1989 opened 5 years ago
What is in: /home/XXX/.msf4/logs/msf-ws.log
?
@busterb Seems it has fixed itself in 5.0.33+20190626102421~1rapid7-1 however there is a new error in framework.log
framework.log
> [06/27/2019 16:50:53] [i(0)] core: Default data service found. Attempting to connect...
> [06/27/2019 16:51:02] [e(0)] core: Unable to load module /opt/metasploit-framework/embedded/framework/modules/auxiliary/gather/office365userenum.py, unknown module type
msf-ws.log (i have cleared the logs but will post a fresh one when new error)
Writing PID to /home/FPK/.msf4/msf-ws.pid
Thin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on localhost:5443, CTRL+C to stop
Restarting ...
Stopping ...
Writing PID to /home/FPK/.msf4/msf-ws.pid
Exiting!
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/daemonizing.rb:164:in `chmod': No such file or directory @ apply2files - /home/FPK/.msf4/msf-ws.pid (Errno::ENOENT)
from /opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/daemonizing.rb:164:in `write_pid_file'
from /opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/daemonizing.rb:56:in `daemonize'
from /opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:62:in `start'
from /opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
from /opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
from /opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
from /opt/metasploit-framework/embedded/bin/thin:23:in `load'
from /opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
Writing PID to /home/FPK/.msf4/msf-ws.pid
Thin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on localhost:5443, CTRL+C to stop
Writing PID to /home/FPK/.msf4/msf-ws.pid
Thin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on localhost:5443, CTRL+C to stop
2019-06-13 22:14:46 - ActiveRecord::StatementInvalid - PG::AdminShutdown: FATAL: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/workspace_servlet.rb:24:in `block in get_workspace'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-13 22:14:48 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/event_servlet.rb:36:in `block in report_event'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-13 22:14:48 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/event_servlet.rb:36:in `block in report_event'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-14 06:56:12 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-14 18:21:00 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-16 20:48:03 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-16 20:48:52 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-16 20:52:11 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-18 17:17:25 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-18 17:25:04 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-20 00:18:26 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-20 01:25:51 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-20 02:46:46 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-20 03:05:34 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-20 04:34:20 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-20 05:28:30 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2019-06-21 22:04:48 - ActiveRecord::StatementInvalid - PG::UnableToSend: no connection to the server
: SELECT "users".* FROM "users" WHERE "users"."persistence_token" = $1 ORDER BY "users"."id" ASC LIMIT 1:
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:356:in `select'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/querying.rb:39:in `find_by_sql'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:639:in `exec_queries'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:515:in `load'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation.rb:243:in `to_a'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/activerecord-4.2.11.1/lib/active_record/relation/finder_methods.rb:127:in `first'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/authentication/strategies/api_token.rb:30:in `authenticate!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/strategies/base.rb:54:in `_run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:359:in `block in _run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:354:in `_run_strategies_for'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:324:in `_perform_authentication'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/proxy.rb:128:in `authenticate!'
/opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/msf_servlet.rb:21:in `block in get_msf_version'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1611:in `block in compile!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (3 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:994:in `route_eval'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:975:in `block (2 levels) in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1015:in `block in process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1013:in `process_route'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:973:in `block in route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `each'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:972:in `route!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1085:in `block in dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1082:in `dispatch!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `block in call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `block in invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1067:in `invoke'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:907:in `call!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:895:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/xss_header.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/path_traversal.rb:16:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/json_csrf.rb:18:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/base.rb:49:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-protection-1.5.5/lib/rack/protection/frame_options.rb:31:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:225:in `context'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/session/abstract/id.rb:220:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/nulllogger.rb:9:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/rack-1.6.11/lib/rack/head.rb:13:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:182:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:2013:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `block in call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1787:in `synchronize'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1487:in `call'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:53:in `process'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/connection.rb:39:in `receive_data'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/backends/base.rb:73:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/server.rb:162:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:87:in `start'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:203:in `run_command'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/lib/thin/runner.rb:159:in `run!'
/opt/metasploit-framework/embedded/lib/ruby/gems/2.5.0/gems/thin-1.7.2/bin/thin:6:in `<top (required)>'
/opt/metasploit-framework/embedded/bin/thin:23:in `load'
/opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
@francisuk1989
The "core: Unable to load module /opt/metasploit-framework/embedded/framework/modules/auxiliary/gather/office365userenum.py, unknown module type" in the framework.log is unrelated and you can safely ignore that for now.
Is the very large msf-ws.log you posted above from 5.0.33+20190626102421~1rapid7-1 or the previous version? Are you still experiencing issues?
I had the same issue, i could solve it running the follow command in the terminal prompt (not msfconsole):
msfdb restart
after that, works perfectly.
Hi!
This issue has been left open with no activity for a while now.
We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.
When starting metasploit using msconfile with Ubuntu Desktop (not Server) 18.04.2 LTS x64 I get the following error with v5.0.21-dev, However access creds database is completely fine.
Also on todays reboot i got this error also.
OS
What OS are you running Metasploit on?
Ubuntu Desktop (not Server) 18.04.2 LTS x64 5.0.21+20190503135258~1rapid7-1 was the file i had installed.