mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
20 lines
475 B
C++
20 lines
475 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#include "config.h"
|
|
|
|
#include "Telnet.h"
|
|
#include "NVT.h"
|
|
|
|
Telnet_Analyzer::Telnet_Analyzer(Connection* conn)
|
|
: Login_Analyzer(AnalyzerTag::Telnet, conn)
|
|
{
|
|
NVT_Analyzer* nvt_orig = new NVT_Analyzer(conn, true);
|
|
NVT_Analyzer* nvt_resp = new NVT_Analyzer(conn, false);
|
|
|
|
nvt_resp->SetPeer(nvt_orig);
|
|
nvt_orig->SetPeer(nvt_resp);
|
|
|
|
AddSupportAnalyzer(nvt_orig);
|
|
AddSupportAnalyzer(nvt_resp);
|
|
}
|
|
|