mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
26 lines
531 B
C++
26 lines
531 B
C++
#include "plugin/Plugin.h"
|
|
#include "file_analysis/Component.h"
|
|
|
|
#include "Extract.h"
|
|
|
|
namespace plugin { namespace Bro_FileExtract {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
protected:
|
|
void InitPreScript()
|
|
{
|
|
SetName("Bro::FileExtract");
|
|
SetVersion(-1);
|
|
SetAPIVersion(BRO_PLUGIN_API_VERSION);
|
|
SetDynamicPlugin(false);
|
|
|
|
SetDescription("Extract file content to local file system");
|
|
|
|
AddComponent(new ::file_analysis::Component("EXTRACT",
|
|
::file_analysis::Extract::Instantiate));
|
|
}
|
|
};
|
|
|
|
Plugin __plugin;
|
|
|
|
} }
|