You can do that with a bytecode signature. Documentation is here:
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCoQFjAA&url=http%3A%2F%2Fgit.clamav.net%2Fgitweb%3Fp%3Dclamav-bytecode-compiler.git%3Ba%3Dblob_plain%3Bf%3Ddocs%2Fuser%2Fclambc-user.pdf&ei=d3yQT7ueJab26AG6362jBA&usg=AFQjCNEUh5FUYwoKqF3pbLG5Be-6hBk5Rw&sig2=zSpCCIjr9RVjR8LwRahxiw

Search for "Writing regular expressions in bytecode".

- Alain

On Fri, Apr 20, 2012 at 12:31 PM, wsfax alu.es <[email protected]> wrote:
> Hello,
>
> Please, knowns someone if, in a ClamAV signature, it is possible to include
> an expression like the perl's one "[0-9]{2,8}" That is, a sequence of 2 to
> 8 bytes, each one in the range from ascii 0 to ascii 9.
>
> Thanks a lot for your help.
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to