5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0
5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0

Get Content in Flow

The following example extracts content from a flow.

function Flow_GetContent (dpiMsg, ruleEngine) require 'LOG' -- NOTE: You can extract content from smtp, http, and/or ftp_data protocols. local protocol = "smtp" if (GetLatestApplication(dpiMsg) == protocol) then local smtpDataContent = GetContent(dpiMsg, protocol) EZINFO("Smtp Content: " .. smtpDataContent) endend