/src/zeek/src/analyzer/protocol/zip/Plugin.cc
Line | Count | Source |
1 | | // See the file "COPYING" in the main distribution directory for copyright. |
2 | | |
3 | | #include "zeek/plugin/Plugin.h" |
4 | | |
5 | | #include "zeek/analyzer/Component.h" |
6 | | |
7 | | namespace zeek::plugin::detail::Zeek_ZIP { |
8 | | |
9 | | class Plugin : public zeek::plugin::Plugin { |
10 | | public: |
11 | 66 | zeek::plugin::Configuration Configure() override { |
12 | 66 | AddComponent(new zeek::analyzer::Component("ZIP", nullptr)); |
13 | | |
14 | 66 | zeek::plugin::Configuration config; |
15 | 66 | config.name = "Zeek::ZIP"; |
16 | 66 | config.description = "Generic ZIP support analyzer"; |
17 | 66 | return config; |
18 | 66 | } |
19 | | } plugin; |
20 | | |
21 | | } // namespace zeek::plugin::detail::Zeek_ZIP |