Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 11 Sep 2012 20:52:15 +0200
From: magnum <>
To: "" <>
Subject: Arbitrary characters in rules, using \xnn

Jim posted a patch in May (ad56c30) that added support for arbitrary characters in rules, using \xnn notation. Although I think it was supposed to work in pre-processor ranges, I tried to use it today and found out it did not. I committed a patch for this now, fairly well tested (which was a good thing because I had a serious problem with ranges ending in \xff at first). Now things like this works:

# Append any 8th bit character to the word (not UTF-8)
-8 -U $[\x80-\xff]

# Prepend or append an UTF-8 card suit to the word
-8 A[0z]"\xe2\x99[\xa0\xa3\xa5\xa6]"


Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.