Module: Msf::DatabaseEvent
- Included in:
- Plugin::EventLibnotify
- Defined in:
- lib/msf/core/database_event.rb
Overview
Events that can occur in the host/service database.
Instance Method Summary collapse
-
#on_db_client(client) ⇒ Object
Called when a new client is added to the database.
-
#on_db_host(host) ⇒ Object
Called when a new host is added to the database.
-
#on_db_host_state(host, ostate) ⇒ Object
Called when an existing host’s state changes.
-
#on_db_ref(ref) ⇒ Object
Called when a new reference is created.
-
#on_db_service(service) ⇒ Object
Called when a new service is added to the database.
-
#on_db_service_state(host, port, ostate) ⇒ Object
Called when an existing service’s state changes.
-
#on_db_vuln(vuln) ⇒ Object
Called when an applicable vulnerability is found for a service.
Instance Method Details
#on_db_client(client) ⇒ Object
Called when a new client is added to the database. The client parameter is of type Client.
5 6 |
# File 'lib/msf/core/database_event.rb', line 5 def on_db_client(client) end |
#on_db_host(host) ⇒ Object
Called when a new host is added to the database. The host parameter is of type Host.
10 11 |
# File 'lib/msf/core/database_event.rb', line 10 def on_db_host(host) end |
#on_db_host_state(host, ostate) ⇒ Object
Called when an existing host’s state changes
14 15 |
# File 'lib/msf/core/database_event.rb', line 14 def on_db_host_state(host, ostate) end |
#on_db_ref(ref) ⇒ Object
Called when a new reference is created.
18 19 |
# File 'lib/msf/core/database_event.rb', line 18 def on_db_ref(ref) end |
#on_db_service(service) ⇒ Object
Called when a new service is added to the database. The service parameter is of type Service.
23 24 |
# File 'lib/msf/core/database_event.rb', line 23 def on_db_service(service) end |
#on_db_service_state(host, port, ostate) ⇒ Object
Called when an existing service’s state changes
27 28 |
# File 'lib/msf/core/database_event.rb', line 27 def on_db_service_state(host, port, ostate) end |
#on_db_vuln(vuln) ⇒ Object
Called when an applicable vulnerability is found for a service. The vuln parameter is of type Vuln.
32 33 |
# File 'lib/msf/core/database_event.rb', line 32 def on_db_vuln(vuln) end |