misc icon indicating copy to clipboard operation
misc copied to clipboard

x-fb-zd dict dump

Open novitae opened this issue 1 year ago • 2 comments

Hey, I am trying to find out how did you dumped the dictionary you are talking about here: https://github.com/mame82/misc/blob/157c17cb0cd7fb2406522d49a6b0a517d4fce1a3/fb-zstd.py#L23-L23

I would like to do it myself, because it seems that they added a new version, and that you can now specify which one do you want. I think that even if it is hardcoded, the dictionary doesn't change, but id like to get it. Capture d’écran 2024-01-15 à 14 25 41 Capture d’écran 2024-01-15 à 14 26 14

novitae avatar Jan 15 '24 13:01 novitae

How to dump the zstd dictionary? Thank you for your answer!

hiflybo avatar Nov 16 '24 10:11 hiflybo

T.b.h. even if I could remember what I did 3 years back, I would not give such a clear advise. Suggesting (how I would approach it, if I have to redo it): Grab the (old) APK I used, extract the library. Search for the dict from my script (bytematching), reverse respective code (referencing the dict) ... apply gained knowledge to newer implementations as starting point for reversing.

mame82 avatar Nov 16 '24 11:11 mame82