wc3edit.net https://forum.wc3edit.net/ |
|
Hidden activators http://forum.wc3edit.net/deprotection-cheating-f64/hidden-activators-t37032-10.html |
Page 2 of 2 |
Author: | 1vann [ February 17th, 2020, 6:41 pm ] |
Post subject: | Re: Hidden activators |
Here little script i wrote(python) Code: def hash_breaker(h): for b in range(100): for c in range(100): a = h for i in [-15, 10, -3, -5, 16, -12, -13, 8, -13]: a, b, c = b, c, ((a ^ (b << i if i > 0 else (b & 0xFFFFFFFF) >> -i)) + b + c) & 0xFFFFFFFF l = a & 0xFF if l != 11: continue a1 = ((a - l) >> 8 & 0xFFFFFFFF).to_bytes(3, "little") b1 = ((b - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little") c1 = ((c - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little") s = c1 + b1 + a1 ex = False for i in s: if 97 <= i <= 122 or i == 47 or i == 0: ex = True break if ex: continue return s Hidden activator(collision) is Code: `!|VAQ
|
Author: | owner123 [ March 7th, 2020, 10:20 pm ] |
Post subject: | Re: Hidden activators |
Thanks for posting your implementation. It's great. I made one too for fun, found this collision as well: ac3w2w7 |
Author: | test33 [ March 31st, 2024, 6:23 pm ] |
Post subject: | Re: Hidden activators |
1vann wrote: Here little script i wrote(python) Code: def hash_breaker(h): for b in range(100): for c in range(100): a = h for i in [-15, 10, -3, -5, 16, -12, -13, 8, -13]: a, b, c = b, c, ((a ^ (b << i if i > 0 else (b & 0xFFFFFFFF) >> -i)) + b + c) & 0xFFFFFFFF l = a & 0xFF if l != 11: continue a1 = ((a - l) >> 8 & 0xFFFFFFFF).to_bytes(3, "little") b1 = ((b - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little") c1 = ((c - 0x9e3779b9) & 0xFFFFFFFF).to_bytes(4, "little") s = c1 + b1 + a1 ex = False for i in s: if 97 <= i <= 122 or i == 47 or i == 0: ex = True break if ex: continue return s Hidden activator(collision) is Code: `!|VAQ Script doesn't seam to work for me, trying to crack 836025351 would result in bytes 62 27 3d 5c 78 30 34 5c 78 62 61 56 7d 5e 5c 78 62 34 3c 5c 78 63 33 5c 78 62 30 5c 78 39 65 27 |
Author: | devoltz [ April 14th, 2024, 4:16 am ] |
Post subject: | Re: Hidden activators |
test33 wrote: Script doesn't seam to work for me, trying to crack 836025351 would result in bytes 62 27 3d 5c 78 30 34 5c 78 62 61 56 7d 5e 5c 78 62 34 3c 5c 78 63 33 5c 78 62 30 5c 78 39 65 27 Try using JAST stringhash break thing
|
Page 2 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |