Author | Stegano 16 |
TheShadowbyte Member

Posts: 8 Location: Canada
Joined: 11.01.14 Rank: HBH Guru | |
I've been looking around, and some people have suggested putting the gif in the right format after the hex removal of the unnecessary segment, but I don't know what it means to put it in the right format / playing with the spaces.
Edited by TheShadowbyte on 18-02-16 04:30 |
 |
Author | RE: Stegano 16 |
rex_mundi ☆ Lucifer ☆

Posts: 2018 Location: Scotland
Joined: 20.02.08 Rank: God | |
That's not a string of hex chars that you've cut out of the image, it's a string of indiividual letters and numbers seperated by spaces.
It's not a big jump in logic to work out how to turn that srting into the right format, so that it can be decoded.
Then it'll be pretty obvious what the last step should be reguarding the gif. |
 |
Author | RE: Stegano 16 |
TheShadowbyte Member

Posts: 8 Location: Canada
Joined: 11.01.14 Rank: HBH Guru | |
LOL I assumed the challenge required playing around with the nulls in the original image, I thought that's what it meant by playing with the spaces (the nulls (00) convert to dots in the string). I didn't even play with the latter half of the file (the important one), I just kinda deleted it and tried to make sense of the top remainder (i.e. I was using the wrong section).
If that's all that I'm supposed to do, then this challenge is super easy. I did actually do all that's required and got the right decoded string, but the output GIF is not viewable (I get an error from my image viewer).
Edited by TheShadowbyte on 23-02-16 05:47 |
 |
Author | RE: Stegano 16 |
Huitzilopochtli Member

Posts: 1644 Location:
Joined: 19.02.13 Rank: God | |
Guess it's not super easy after alll.  |
 |
Author | RE: Stegano 16 |
TheShadowbyte Member

Posts: 8 Location: Canada
Joined: 11.01.14 Rank: HBH Guru | |
Well, if I'm not mistaken, the final file is in the right encoding, but still to no avail, so not really certain what more can be done beyond that, as I doubt much can be, nor do I know where to seek further guidance, unless you are willing to provide some, for which I would be much appreciative.
Edited by TheShadowbyte on 23-02-16 22:05 |
 |
Author | RE: Stegano 16 |
Huitzilopochtli Member

Posts: 1644 Location:
Joined: 19.02.13 Rank: God | |
With a few simple lines of code, you could output the decoded data diirectly into the correct format, or maybe try something like notepad++, or better yet get a decent hex editor like Winhex.
If you're saving the data in something shit like notepad then you'll lose some characters and after saving it tthe image will be corrupt
Edited by Huitzilopochtli on 24-02-16 00:56 |
 |
Author | RE: Stegano 16 |
TheShadowbyte Member

Posts: 8 Location: Canada
Joined: 11.01.14 Rank: HBH Guru | |
I am indeed using a hex editor to both extract, as well as to input the data in order to generate the final file (I use Bless Hex Editor for Linux).
Edit: I solved the challenge, did the same thing on Windows and the image viewer showed it, the one on my Ubuntu didn't (showed as corrupt).
Edited by TheShadowbyte on 24-02-16 05:58 |
 |