Skip to content

Commit e9a6823

Browse files
committed
Add Fnv64 Test
1 parent 2cfda62 commit e9a6823

4 files changed

Lines changed: 200499 additions & 180533 deletions

File tree

PythonScripts/bruteforcetypehashscript.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ def sha256_last4_uint32_be(input_str):
55
digest = hashlib.sha256(input_str.encode('utf-8')).digest()
66
return struct.unpack('>I', digest[28:32])[0]
77

8-
target_str = "AttribSchema_gp_actor_facialanim"
9-
desired_hash = 2082094922 # 0x7C23642A
8+
# target_str = "AttribSchema_gp_actor_facialanim"
9+
# desired_hash = 2082094922 # 0x7C23642A
10+
11+
target_str = "defenderRatingRequired"
12+
desired_hash = 580817444 # 0x7C23642A
1013

1114
for seed in range(0, 1000000): # Adjust range as needed
1215
combo = (target_str + str(seed)).lower()

PythonScripts/dumpallstringsfromexe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
def extract_valid_ascii_strings(file_path, output_path, encoding='utf-8', min_length=3):
44
valid_strings = []
5-
ascii_alpha = re.compile(r'^[A-Za-z_]+$')
5+
ascii_alpha = re.compile(r'^[A-Za-z_0-9]+$')
66

77
with open(file_path, 'rb') as f:
88
buffer = bytearray()
@@ -22,7 +22,7 @@ def extract_valid_ascii_strings(file_path, output_path, encoding='utf-8', min_le
2222
# Save results to file
2323
with open(output_path, 'w', encoding='utf-8') as out_file:
2424
for i, s in enumerate(valid_strings, 1):
25-
out_file.write(f"{i}: {s}\n")
25+
out_file.write(f"{s}\n")
2626

2727

2828

0 commit comments

Comments
 (0)