The FindData condition checks to see if certain data contains a specific value. It uses the attributes ApplyTo, Offset, Length, UseDataAvail and IfNull to determine what data is to be subject to the test and what the return value should be if the data is not available.
Also see section “Specifying Data for Conditions”.
Type | Binary Data |
Default | (empty) |
Description | The Data attribute specifies what data is to be found in the data referenced by ApplyTo, Offset and Length. |
Type | Boolean Values |
Default | false |
Description | Specifies whether to search for the data in case-sensitive or case-insensitive format. |
Type | Boolean Values |
Default | false |
Description | Specifies whether or not to ignore white spaces while searching. |
This attribute is only applicable if the condition is used within a TcpRuleRecvProto rule. See section "GenVerify Attribute Of Conditions" for details.
<FindData> <ApplyTo>Http.Request.Url</ApplyTo> <Data>/images/</Data> <CaseSensitive>true</CaseSensitive> </FindData>