-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange scripts to prevent double-loading in plugin and package space
The Zeek scripts were loaded twice after installation, once via the plugin subsystem and once via zkg also pointing at the scripts folder. Since installation puts these sets of files in two separate locations, Zeek's path-based recognition of redundant loads of a script doesn't catch, and Zeek aborts due to redundant symbols etc. This package has no script content that needs to be loaded at plugin bootstrap time, so this commit shifts the content into the existing subdirectory of the scripts folder and updates zkg accordingly.
- Loading branch information
Showing
4 changed files
with
1 addition
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
# | ||
|
||
@load ./main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
# This is loaded unconditionally at Zeek startup. Include scripts here that should | ||
# always be loaded. | ||
|
||
@load ./init | ||
@load ./Corelight/PE_XOR | ||
|
||
|
||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters