wc3edit.net

United Warcraft 3 map hacking!
It is currently April 19th, 2024, 3:48 pm

All times are UTC




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Hidden activators
PostPosted: February 17th, 2020, 6:41 pm 
Offline
Newcomer

Joined: September 29th, 2010, 5:53 pm
Posts: 21
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


Top
 Profile  
 
 Post subject: Re: Hidden activators
PostPosted: March 7th, 2020, 10:20 pm 
Offline
Super Moderator

Joined: February 3rd, 2009, 11:28 pm
Posts: 2394
Thanks for posting your implementation. It's great. I made one too for fun, found this collision as well: ac3w2w7


Top
 Profile  
 
 Post subject: Re: Hidden activators
PostPosted: March 31st, 2024, 6:23 pm 
Offline
Newcomer

Joined: July 26th, 2022, 2:00 pm
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: Hidden activators
PostPosted: April 14th, 2024, 4:16 am 
Offline
Forum Staff
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 3270
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

_________________


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)