Class: FIDIUS::ModuleRunCallback

Inherits:
Object
  • Object
show all
Defined in:
lib/msf-plugins/evasiondb.rb

Overview

PacketLogger

Instance Method Summary collapse

Instance Method Details

#on_module_complete(instance) ⇒ Object

Called when a module finishes



326
327
328
# File 'lib/msf-plugins/evasiondb.rb', line 326

def on_module_complete(instance)
   FIDIUS::EvasionDB.current_recorder.module_completed(instance) if $auto_logging
end

#on_module_error(instance, exception) ⇒ Object

Called when a module raises an exception



333
334
335
# File 'lib/msf-plugins/evasiondb.rb', line 333

def on_module_error(instance, exception)
   FIDIUS::EvasionDB.current_recorder.module_error(instance,exception) if $auto_logging
end

#on_module_run(instance) ⇒ Object



320
321
322
# File 'lib/msf-plugins/evasiondb.rb', line 320

def on_module_run(instance)
  FIDIUS::EvasionDB.current_recorder.module_started(instance) if $auto_logging
end