blob: 725f3ffa0069a99b257809203aafb1d170cbe0c9 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001This modules matches a given string by using some pattern matching strategy. It requires a linux kernel >= 2.6.14.
2.TP
3\fB\-\-algo\fP {\fBbm\fP|\fBkmp\fP}
4Select the pattern matching strategy. (bm = Boyer-Moore, kmp = Knuth-Pratt-Morris)
5.TP
6\fB\-\-from\fP \fIoffset\fP
7Set the offset from which it starts looking for any matching. If not passed, default is 0.
8.TP
9\fB\-\-to\fP \fIoffset\fP
10Set the offset from which it starts looking for any matching. If not passed, default is the packet size.
11.TP
12[\fB!\fP] \fB\-\-string\fP \fIpattern\fP
13Matches the given pattern.
14.TP
15[\fB!\fP] \fB\-\-hex\-string\fP \fIpattern\fP
16Matches the given pattern in hex notation.