zeek/src/analyzer/protocol/login/Plugin.cc
Arne Welzel 4958c56c84 Add missing "COPYING" in file comments
This was just done via sed. There's a number of files that don't
have a license entry at all.
2024-12-06 11:55:46 +01:00

31 lines
1.3 KiB
C++

// See the file "COPYING" in the main distribution directory for copyright.
#include "zeek/plugin/Plugin.h"
#include "zeek/analyzer/Component.h"
#include "zeek/analyzer/protocol/login/Login.h"
#include "zeek/analyzer/protocol/login/RSH.h"
#include "zeek/analyzer/protocol/login/Rlogin.h"
#include "zeek/analyzer/protocol/login/Telnet.h"
namespace zeek::plugin::detail::Zeek_Login {
class Plugin : public zeek::plugin::Plugin {
public:
zeek::plugin::Configuration Configure() override {
AddComponent(new zeek::analyzer::Component("Telnet", zeek::analyzer::login::Telnet_Analyzer::Instantiate));
AddComponent(new zeek::analyzer::Component("Rsh", zeek::analyzer::login::Rsh_Analyzer::Instantiate));
AddComponent(new zeek::analyzer::Component("Rlogin", zeek::analyzer::login::Rlogin_Analyzer::Instantiate));
AddComponent(new zeek::analyzer::Component("NVT", nullptr));
AddComponent(new zeek::analyzer::Component("Login", nullptr));
AddComponent(new zeek::analyzer::Component("Contents_Rsh", nullptr));
AddComponent(new zeek::analyzer::Component("Contents_Rlogin", nullptr));
zeek::plugin::Configuration config;
config.name = "Zeek::Login";
config.description = "Telnet/Rsh/Rlogin analyzers";
return config;
}
} plugin;
} // namespace zeek::plugin::detail::Zeek_Login