wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2020, 8:35 am

All times are UTC




Post new topic Reply to topic  [ 12 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: 11
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
Forum Staff

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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 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)