Example Rule Generation Using Mask-Processor.
#2
this is awesome! much thanks for your contribution.

you know you can write this one:

Code:
mp64.exe -1 0123456789 "^"?1"^"?1"^"?1 -o "Prefix 0-999.rule"

easier to read this way:

Code:
mp64.exe -1 0123456789 "^?1^?1^?1" -o "Prefix 0-999.rule"

or this:

Code:
mp64.exe -1 0123456789 "^?1 ^?1 ^?1" -o "Prefix 0-999.rule"

using the spaces each function is seperated by each other and more clear to understand. i used the same technique in best64.rule

also i would recommand not to use the outfile containing a space, because it requires the user to encapsulate it in "". Why not "Prefix-0-999.rule"?

So i would recommend in ending up with:

Code:
mp64.exe "^?d ^?d ^?d" -o Prefix-0-999.rule

PS:

you could also use ^ to escape ^ itself. But its a bit harder to read:

Code:
mp64.exe ^^?d ^^?d ^^?d -o Prefix-0-999.rule



Messages In This Thread
RE: Example Rule Generation Using Mask-Processor. - by atom - 11-25-2011, 10:08 AM