mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
24 lines
554 B
C++
24 lines
554 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
#include "Entropy.h"
|
|
#include "plugin/Plugin.h"
|
|
#include "file_analysis/Component.h"
|
|
|
|
namespace plugin {
|
|
namespace Zeek_FileEntropy {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure() override
|
|
{
|
|
AddComponent(new ::file_analysis::Component("ENTROPY", ::file_analysis::Entropy::Instantiate));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Zeek::FileEntropy";
|
|
config.description = "Entropy test file content";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|