Skip to content

Commit 8c833a0

Browse files
authored
Merge pull request #142 from roycewilliams/main
update descrypt regex
2 parents c8ecdbf + 2e4d4ec commit 8c833a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

name_that_hash/hashes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class HashInfo:
5353
],
5454
),
5555
Prototype(
56-
regex=re.compile(r"^[a-z0-9\/.]{13}$", re.IGNORECASE),
56+
regex=re.compile(r"^[a-z0-9\/.]{12}[.26AEIMQUYcgkosw]{1}$", re.IGNORECASE),
5757
modes=[
5858
HashInfo(name="DES(Unix)", hashcat=1500, john="descrypt", extended=False),
5959
HashInfo(

0 commit comments

Comments
 (0)