miniperl has asked for the wisdom of the Perl Monks concerning the following question:
I have a list a domain names that I need to create snort rules for. Inserting text into a line is not too complicated but what needs to be done here is.
The number is a count of the number of characters of each part of the domain. foo contains 3 characters so it is preceded by |03|. There will always be a |00| at the end.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Inserting domain name into Snort rule
by aaron_baugher (Curate) on Oct 04, 2012 at 18:16 UTC | |
by miniperl (Initiate) on Oct 05, 2012 at 14:01 UTC | |
by aaron_baugher (Curate) on Oct 05, 2012 at 16:01 UTC | |
by miniperl (Initiate) on Oct 05, 2012 at 16:40 UTC | |
by aaron_baugher (Curate) on Oct 06, 2012 at 08:22 UTC | |
|