mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
25 lines
576 B
C++
25 lines
576 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
#include "FTP.h"
|
|
#include "plugin/Plugin.h"
|
|
#include "analyzer/Component.h"
|
|
|
|
namespace plugin {
|
|
namespace Zeek_FTP {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure() override
|
|
{
|
|
AddComponent(new ::analyzer::Component("FTP", ::analyzer::ftp::FTP_Analyzer::Instantiate));
|
|
AddComponent(new ::analyzer::Component("FTP_ADAT", nullptr));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Zeek::FTP";
|
|
config.description = "FTP analyzer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|