Saturday 16 November 2013

CSCamp Crypto-PNG

Again i don't remember the exact question.
There is an encrypted image can you tell me what is the message?

Download the file here : https://www.dropbox.com/s/njg7i9q5fworlxq/enc.png?m=

When googled about it there was a similar question in some CTF and i found that xor cipher.So asked one of the admin and confirmed it.Now which tool do we use? Xortool from hellman.Astonishingly he himself was there in the irc :-p
Download it here : https://github.com/hellman/xortool

Go to the xortool and type this in command line "python ./xortool.py -c 00"
First time i used the tool and was totally impressed.


Key is : x0Rk3y
well i havent made the python xortool.py a executable.If you are using linux you can just run this command "chmod +x xortool.py" and after this you can just use xortool.
Now lets go ahead note that i haven't made my xortool.py a executable.
Lets run this command now enc.png python ./xortool.py/00_x0Rk3y
After this you would see a folder named "xortool_out" and in that a file named "0.out"
Rename it to .png and open it in paint or whichever image viewer you want.

you will see "The key is pwnthexorcrypto"

Flag : pwnthexorcrypto

8 comments:

  1. 21fa788b3cf3d7ca629fc90305dc97b340a2ea0237b29dd00f2f37a0d80e3665

    ReplyDelete
  2. YY1uqonu/XiAArhzyP6JvlAqd9HB6jOYzxwoB+Cyi0Xh50MWYSNHzLN/q8IAGbi7

    ReplyDelete
  3. 5MMcpr3By3PcRUkcyAUPU4PMoPVXJowhHkleo4BNQG3SZXrPgstESZ0zwBzoTNw/OjVK0w1Mf//N

    ReplyDelete
  4. PKFPJn7YPIXqDyYxqjSEAlS6Qfh5ZqXJPgWbAcLVLwh+dO+OZXsKLG4Y7UQ6qpJbcLxrGezuSPmI
    l+zH7AzC4A==

    ReplyDelete
  5. 0z28RUclMn+7fmHmikBHdkrwCpksW+KmFuSR48UtTalvL5UNZuUTI9gnTJodBD1MGqIu6g3JysBEmJF91D6kJkOmUEMEhUIN68SdyW+s2S8=

    ReplyDelete
  6. JTFZ9wYTVwpfsj8iQk7/WELSxrYpLwZ4oi4kwOt96/wY9jl6vNTBq3yurntAdoWArGX/8R/br1VEC/pwfjBMOg==

    ReplyDelete

enter valid comments.Suggestions are most welcome and would be interested in correcting my mistakes.