Branch data Line data Source code
1 : : // $Id: Telnet.cc 6219 2008-10-01 05:39:07Z vern $
2 : : //
3 : : // See the file "COPYING" in the main distribution directory for copyright.
4 : :
5 : : #include "config.h"
6 : :
7 : : #include "Telnet.h"
8 : : #include "NVT.h"
9 : :
10 : 0 : Telnet_Analyzer::Telnet_Analyzer(Connection* conn)
11 : 0 : : Login_Analyzer(AnalyzerTag::Telnet, conn)
12 : : {
13 : 0 : NVT_Analyzer* nvt_orig = new NVT_Analyzer(conn, true);
14 : 0 : NVT_Analyzer* nvt_resp = new NVT_Analyzer(conn, false);
15 : :
16 : 0 : nvt_resp->SetPeer(nvt_orig);
17 : 0 : nvt_orig->SetPeer(nvt_resp);
18 : :
19 : 0 : AddSupportAnalyzer(nvt_orig);
20 : 0 : AddSupportAnalyzer(nvt_resp);
21 [ + - ][ + - ]: 6 : }
22 : 3 :
|