add arpnip and macsuck hooks and exec hook implementation

This commit is contained in:
Oliver Gorwits
2020-12-30 20:38:45 +00:00
parent 28349eb489
commit 351927d384
9 changed files with 77 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ use Template;
register_worker({ phase => 'main' }, sub {
my ($job, $workerconf) = @_;
my $extra = from_json( decode_base64( $job->extra || '' ) );
$job->subaction('');
my $event_data = $extra->{'event_data'};
my $action_conf = $extra->{'action_conf'};