Summary
Many files for the RPC endpoints don't have specs.
$> ls -1 lib/msf/core/rpc/v10
client.rb
constants.rb
health.rb
rpc_auth.rb
rpc_base.rb
rpc_console.rb
rpc_core.rb
rpc_db.rb
rpc_health.rb
rpc_job_status_tracker.rb
rpc_job.rb
rpc_module.rb
rpc_plugin.rb
rpc_session.rb
service.rb
$> ls -1 spec/lib/msf/core/rpc/v10
rpc_console_spec.rb
rpc_core_spec.rb
rpc_job_status_tracker_spec.rb
rpc_session_spec.rb
$> ls -1R lib/msf/core/rpc/json
client.rb
dispatcher_helper.rb
dispatcher.rb
error.rb
request.rb
response.rb
rpc_command_factory.rb
rpc_command.rb
v1_0
v2_0
lib/msf/core/rpc/json/v1_0:
rpc_command.rb
lib/msf/core/rpc/json/v2_0:
rpc_test.rb
$> ls -1R spec/lib/msf/core/rpc/json
dispatcher_spec.rb
Motivation
Specs are crucial to ensure RPC endpoints work as expected at all times, especially now that they will be utilized by the MCP server.
Summary
Many files for the RPC endpoints don't have specs.
Motivation
Specs are crucial to ensure RPC endpoints work as expected at all times, especially now that they will be utilized by the MCP server.