blob: b6b271d13aea1e1cf3ac00daae07a3fe20cd1fe6 [file] [log] [blame]
This modules matches a given string by using some pattern matching strategy. It requires a linux kernel >= 2.6.14.
\fB\-\-algo\fP {\fBbm\fP|\fBkmp\fP}
Select the pattern matching strategy. (bm = Boyer-Moore, kmp = Knuth-Pratt-Morris)
\fB\-\-from\fP \fIoffset\fP
Set the offset from which it starts looking for any matching. If not passed, default is 0.
\fB\-\-to\fP \fIoffset\fP
Set the offset up to which should be scanned. That is, byte \fIoffset\fP-1
(counting from 0) is the last one that is scanned.
If not passed, default is the packet size.
[\fB!\fP] \fB\-\-string\fP \fIpattern\fP
Matches the given pattern.
[\fB!\fP] \fB\-\-hex\-string\fP \fIpattern\fP
Matches the given pattern in hex notation.