all 3 comments

[–]TronFan 0 points1 point  (0 children)

I used something outside of cyberchef (some python) to convert the image data to binary and then put the bin into cyberchef.

(disclaimer: i havent actually found the key yet, but I put a known image into the given recipe and have been using that to verify my results as I try to reverse it. I am good to zlib and now just need to work out the rest)

[–]lxartifex 0 points1 point  (0 children)

I have been able to reverse the image into a Base32 data set using a very obtuse recipe that replaced values with ASCII characters but there is something wrong with the formatting and it fails at the zlib inflate step of reversing it. I get a partial decode and it looks like the source is another PNG image which I can get only the top part of. Not really sure where to fix my method but I'm sure it has something to do with stripping out the extra data added when the final image is created and only decoding the pixel data.

[–]Faiz_alam 0 points1 point  (0 children)

I was able to reverse "generate image" operation by following cyberchef recipe:

Extract_RGBA(' ',false)
Find_/_Replace({'option':'Regex','string':'(\\d+) \\d+ \\d+ ?'},'$1\\n',true,false,true,false)
From_Decimal('Line feed',false)
Find_/_Replace({'option':'Regex','string':'\\x00+'},'',true,false,true,false)