wc3edit.net
https://forum.wc3edit.net/

Java/Python tool for StringHash decoding
https://forum.wc3edit.net/deprotection-cheating-f64/java-python-tool-for-stringhash-decoding-t38588.html
Page 1 of 1

Author:  quang.billy.79 [ June 6th, 2022, 2:21 pm ]
Post subject:  Java/Python tool for StringHash decoding

Hi, does anyone have the Java/Python tool for StringHash decoding (jass)? I read a comment on this topic https://forum.wc3edit.net/viewtopic.php?p=205601#p205601, a guy said:

Quote:
owner123 wrote:
It's never impossible to brute-force a StringHash because JASS ints are only 32 bits and SStrHash2 algorithm is high collision anyways. Infact breaking a string hash is incredibly easy, compared to many other hashes. I made a Java tool that brute forces it, and a member here created a python script that can solve a hash in nearly constant time.

Do you know JASS? The ability to read and understand JASS is important (but maybe not strictly required) for this.


I inboxed this guy but no reply yet. Does anyone here have this tool on their computer, please share it with me. I searched on this forum for the Python/java code but had no luck.

Actually, when I searched on Google I got this code on Github (https://github.com/zach-cloud/JStringHash), but when I run it didn't work properly.

The stringhash I want to brute force is
Code:
if StringHash(Jjx)==1583906356
. When I run the code on Github it showed '!eeq..' or sth like that.

Author:  1vann [ June 7th, 2022, 2:47 pm ]
Post subject:  Re: Java/Python tool for StringHash decoding

http://forum.wc3edit.net/deprotection-cheating-f64/hidden-activators-t37032-10.html#p204814

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/