Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { EventIDs datastructs.SyncedSet //Channels datastructs.SyncedSet Channel string }
Filter structure
type Hook ¶
Hook structure definition hooking functions are supposed to run quickly since it is run synchronously with the Gene scanner. Likewise, the hooking functions should never panic the program.
type HookManager ¶
type HookManager struct { sync.RWMutex Filters []*Filter Hooks []Hook // contains filtered or unexported fields }
HookManager structure definition to easier handle hooks
func (*HookManager) Hook ¶
func (hm *HookManager) Hook(h Hook, f *Filter)
Hook register a hook for a given filter
func (*HookManager) RunHooksOn ¶
func (hm *HookManager) RunHooksOn(e *evtx.GoEvtxMap) (ret bool)
RunHooksOn runs the hook on a given event
Click to show internal directories.
Click to hide internal directories.