diff --git a/lib/metasploit/framework/data_service/remote/http/remote_session_event_data_service.rb b/lib/metasploit/framework/data_service/remote/http/remote_session_event_data_service.rb index 4fc87c13de..61960e0b20 100644 --- a/lib/metasploit/framework/data_service/remote/http/remote_session_event_data_service.rb +++ b/lib/metasploit/framework/data_service/remote/http/remote_session_event_data_service.rb @@ -6,7 +6,7 @@ module RemoteSessionEventDataService SESSION_EVENT_API_PATH = '/api/v1/session-events' SESSION_EVENT_MDM_CLASS = 'Mdm::SessionEvent' - def session_events(opts = {}) + def session_events(opts) path = get_path_select(opts, SESSION_EVENT_API_PATH) json_to_mdm_object(self.get_data(path, nil, opts), SESSION_EVENT_MDM_CLASS, []) end