WebApp Sec mailing list archives

Re: Encoding Schemes


From: Haroon Meer <haroon () sensepost com>
Date: Thu, 10 Nov 2005 02:38:39 +0200

Hi..

cisspstudy () yahoo com wrote:
CLEARTEXT=ENCODED_TEXT
AAAAAA=C8AFBC
I guess it is a XOR. How do I figure out the key? What is the key?

cleartext XOR key = encodedtext
then
encodedtext XOR cleartext = key

perl -e 'print string1 ^ string2;' should give you what you need

/mh
-- 
======================================================================
Haroon Meer                                                         MH
SensePost Information Security                          +27 83786 6637
PGP : http://www.sensepost.com/pgp/haroon.txt     haroon () sensepost com
======================================================================


Current thread: