mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 03:58:20 +00:00
Initial import of svn+ssh:://svn.icir.org/bro/trunk/bro as of r7088
This commit is contained in:
commit
61757ac78b
1383 changed files with 380824 additions and 0 deletions
22
src/Telnet.cc
Normal file
22
src/Telnet.cc
Normal file
|
@ -0,0 +1,22 @@
|
|||
// $Id: Telnet.cc 6219 2008-10-01 05:39:07Z vern $
|
||||
//
|
||||
// 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);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue