Versions in this module Expand all Collapse all v0 v0.9.0 Apr 9, 2026 Changes in this version + var DataDecoder = &decoder.StreamDecoder + var Decoder = &decoder.StreamDecoder + func CleanupExpiredConnections() + func ExtractDataChannel(conv *core.ConversationInfo, data []byte, conn *FTPDataConnection) error + func RemoveDataConnection(key string) + func ShouldDecodeAsDataChannel(conv *core.ConversationInfo) bool + type FTPDataConnection struct + Command string + CreatedAt time.Time + FileSize int64 + Filename string + IP string + IsPassive bool + Port int + TransferMode string + func CheckDataConnection(key string) (*FTPDataConnection, bool) + type FTPFileExtractor struct + func (f *FTPFileExtractor) DescribeFile(handle *file.FileHandle) string + func (f *FTPFileExtractor) ExtractFile(conv *core.ConversationInfo, data []byte, metadata file.FileMetadata) error + func (f *FTPFileExtractor) GetFileHandle(conv *core.ConversationInfo, isOrigin bool, depth int) string + func (f *FTPFileExtractor) ProtocolName() string