Module: Metasploit::Framework::DataService

Includes:
EventDataService, ExploitDataService, HostDataService, LootDataService, MsfDataService, NoteDataService, ServiceDataService, SessionDataService, SessionEventDataService, VulnDataService, WebDataService, WorkspaceDataService
Included in:
RemoteHTTPDataService, Msf::DBManager
Defined in:
lib/metasploit/framework/data_service.rb,
lib/metasploit/framework/data_service/proxy/core.rb,
lib/metasploit/framework/data_service/remote/http/core.rb,
lib/metasploit/framework/data_service/remote/managed_remote_data_service.rb

Defined Under Namespace

Classes: DataProxy, ManagedRemoteDataService, Metadata, RemoteHTTPDataService

Instance Method Summary collapse

Methods included from MsfDataService

#get_msf_version

Methods included from LootDataService

#find_or_create_loot, #loot, #report_loot, #update_loot

Methods included from ExploitDataService

#report_exploit_attempt, #report_exploit_failure, #report_exploit_success

Methods included from SessionEventDataService

#report_session_event, #session_events

Methods included from SessionDataService

#report_session, #sessions, #update_session

Methods included from ServiceDataService

#delete_service, #find_or_create_service, #report_service, #services, #update_service

Methods included from NoteDataService

#delete_note, #find_or_create_note, #notes, #report_note, #update_note

Methods included from WebDataService

#report_web_form, #report_web_page, #report_web_site, #report_web_vuln

Methods included from WorkspaceDataService

#add_workspace, #default_workspace, #delete_workspaces, #find_workspace, #update_workspace, #workspace, #workspace=, #workspaces

Methods included from VulnDataService

#delete_vuln, #find_or_create_vuln, #report_vuln, #update_vuln, #vulns

Methods included from EventDataService

#events, #report_event

Methods included from HostDataService

#add_host_tag, #delete_host, #delete_host_tag, #find_or_create_host, #get_host, #get_host_tags, #hosts, #report_host, #report_hosts, #update_host

Instance Method Details

#activeObject


37
38
39
# File 'lib/metasploit/framework/data_service.rb', line 37

def active
  raise 'DataService#active is not implemented';
end

#active=(value) ⇒ Object


41
42
43
# File 'lib/metasploit/framework/data_service.rb', line 41

def active=(value)
  raise 'DataService#active= is not implemented';
end

#is_local?Boolean

Returns:

  • (Boolean)

45
46
47
# File 'lib/metasploit/framework/data_service.rb', line 45

def is_local?
  raise 'DataService#is_local? is not implemented';
end

#nameObject


33
34
35
# File 'lib/metasploit/framework/data_service.rb', line 33

def name
  raise 'DataService#name is not implemented';
end