mirror of
https://github.com/BC-SECURITY/Empire
synced 2026-06-08 10:26:49 +00:00
647 B
647 B
Lifecycle Hooks
on_load
The on_load function is called when the plugin is loaded into memory.
@override
def on_load(self, db):
print("Plugin loaded")
on_unload
The on_unload function is called when the plugin is unloaded from memory.
@override
def on_unload(self, db):
print("Plugin unloaded")
on_start
The on_start function is called when the plugin is started.
@override
def on_start(self, db):
print("Plugin started")
on_stop
The on_stop function is called when the plugin is stopped.
@override
def on_stop(self, db):
print("Plugin stopped")