Re: [pcre-dev] regular expression

トップ ページ
このメッセージを削除
著者: Nigel Metheringham
日付:  
To: rinku buragohain
CC: pcre-dev
題目: Re: [pcre-dev] regular expression

On 20 Sep 2009, at 07:36, rinku buragohain wrote:

>    Can you tell me how a regular expression can decode a  XOR  
> eccrypted
> payload.ex:


It can't (other than using something like a perl expression).

However you can match a string that happens to be the result of a
base64 encoding of the required source string. If the string may be
at a variable offset within the base 64 encoding, you may need
multiple sections within the pattern to match the different byte
offsets (probably up to a total of 8 variants).

    Nigel.
--
[ Nigel Metheringham             Nigel.Metheringham@??? ]
[ - Comments in this message are my own and not ITO opinion/policy - ]