regomne / chinesize

My chinesize tools, scripts and codes
271 stars 87 forks source link

YuRIS xor key accurate guess #50

Open CodeSpoof opened 1 year ago

CodeSpoof commented 1 year ago

Your extYbn go application lacks a guessing method for the XOR cipher key. I wrote an extraction tool for all the binary files of a ypf archive and discovered, that all code blocks of ybn files end with an END instruction, which seems to not change its value. As seen in my code here, it can be simply extracted for all cases I encountered. Since I pretty much abandoned my extractor and yours is almost at the top of search results and thus people new to the matter will find this first, I'd like to suggest adding this here aswell. For those without the proper keys. Cheers

regomne commented 1 year ago

Thank you for providing the key guessing method. I will add it to extYbn later.