RSman 3 Posted August 28, 2014 Share Posted August 28, 2014 Someone know how to change lzo and xtea(?) in source of binary? In hex editor this looks like this: B99EB0026F69810563989B2879181A00 22B8B40464B26E1FAEEA1800A6F6FB1C Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7509 Posted August 28, 2014 Honorable Member Share Posted August 28, 2014 Lzo is a data compression algorithm. It compress data and there are no "lzo keys". On the other hand, XTEA is a block cipher which uses a 8 byte key to encrypt/decrypt data. static DWORD s_adwEterPackKey[] = { 45129401, 92367215, 681285731, 1710201, }; static DWORD s_adwEterPackSecurityKey[] = { 78952482, 527348324, 1632942, 486274726, }; I've made a converter in python: (as requested by someone via PM) >>> from struct import pack as spack >>> a1=spack("LLLL", 45129401,92367215,681285731,1710201) >>> a1.encode('hex') 'b99eb0026f69810563989b2879181a00' >>> >>> a2 = 'b99eb0026f69810563989b2879181a00' >>> a3=a2.decode('hex') >>> from struct import unpack as sunpack >>> sunpack("LLLL", a3) (45129401L, 92367215L, 681285731L, 1710201L) >>> 13 Check out my GitHub Link to comment Share on other sites More sharing options...
Toxic 11 Posted April 26, 2015 Share Posted April 26, 2015 Edited. Link to comment Share on other sites More sharing options...
AlCapone 68 Posted March 1, 2016 Share Posted March 1, 2016 I have this: static DWORD s_adwEterPackKey[] = { 56219512, 93478326, 792396842, 2821312, }; static DWORD s_adwEterPackSecurityKey[] = { 67841371, 416237213, 2521831, 375163615, }; How can I know HEX? I dont know how to use your script 1 Link to comment Share on other sites More sharing options...
Marggraf 150 Posted March 1, 2016 Share Posted March 1, 2016 1 hour ago, AlCapone said: I have this: static DWORD s_adwEterPackKey[] = { 56219512, 93478326, 792396842, 2821312, }; static DWORD s_adwEterPackSecurityKey[] = { 67841371, 416237213, 2521831, 375163615, }; How can I know HEX? I dont know how to use your script i do not understand how it works.. we help anyone? Link to comment Share on other sites More sharing options...
TheGameDeveloper 57 Posted April 9, 2016 Share Posted April 9, 2016 Not working pyton script invalid syntax Link to comment Share on other sites More sharing options...
Premium Iηfιηιт²⁴ᵏ 33 Posted June 25, 2016 Premium Share Posted June 25, 2016 Thank you martysama0134 Link to comment Share on other sites More sharing options...
Marggraf 150 Posted December 27, 2017 Share Posted December 27, 2017 https://ideone.com/3uFr7g 2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now