Documentation ¶
Index ¶
- Variables
- func ApplyDefaultProtocol(event *l9format.L9Event) (found bool)
- func FillSSLDetails(state tls.ConnectionState, event *l9format.L9Event)
- func FuzzConnection(connection net.Conn, event *l9format.L9Event) (err error)
- func GetBanner(event *l9format.L9Event) (err error)
- func GetHttpBanner(event *l9format.L9Event, path string) (err error)
- func GetHttpClient(event *l9format.L9Event) *http.Client
- func GetJARM(event *l9format.L9Event) (err error)
- func GetNetworkConnection(event *l9format.L9Event) (conn net.Conn, err error)
- func GetTLSVersionName(version uint16) string
- func SendHttpTestRequest(hostname string, path string, connection net.Conn) (err error)
- func SendLine(line string, conn net.Conn) (err error)
- func SendLineAndWait(line string, conn net.Conn) (err error)
- func UpgradeConnection(protocol string, connection net.Conn) (err error)
- type HttpIdentifier
- type TcpIdCommand
- type TcpIdentifier
Constants ¶
This section is empty.
Variables ¶
View Source
var HttpIdentifiers = []HttpIdentifier{ http.TagDrupal, http.TagJoomla, http.TagWordpress, http.TagVMWare, http.TagPLC, http.TagPHP, http.TagNginx, http.TagPrinter, http.IdentifyElasticSearch, http.IdentifyKibana, http.IdentifyCouchDb, http.IdentifyGrafana, }
View Source
var HttpTestRequest = "GET %s HTTP/1.1\r\n" +
"Host: %s\r\n" +
"User-Agent: l9tcpid/v1.1.0\r\n" +
"Connection: close\r\n"
View Source
var TCPIdentifiers = []TcpIdentifier{ tcp.IdentifyHttp, tcp.IdentifyKibana, tcp.IdentifyMongoDb, tcp.IdentifySSH, tcp.IdentifyMysql, tcp.IdentifySMTP, tcp.IdentifyFTP, tcp.IdentifyRedis, tcp.IdentifyRTSP, tcp.IdentifyTelnet, tcp.IdentifyCassandra, }
Functions ¶
func ApplyDefaultProtocol ¶
func FillSSLDetails ¶
func FillSSLDetails(state tls.ConnectionState, event *l9format.L9Event)
func FuzzConnection ¶
takes a connection and populates hostService with findings
func GetNetworkConnection ¶
func GetTLSVersionName ¶
func SendHttpTestRequest ¶
Types ¶
type HttpIdentifier ¶
type TcpIdCommand ¶
type TcpIdCommand struct { MaxThreads int `default:"10"` ThreadManager *goccm.ConcurrencyManager `kong:"-"` DeepHttp bool HttpPath string `default:"/"` Debug bool }
func (*TcpIdCommand) Run ¶
func (cmd *TcpIdCommand) Run() error
Click to show internal directories.
Click to hide internal directories.