Skip to content

Commit

Permalink
fix: MySQL[5,4].x hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
CPunch committed Dec 15, 2023
1 parent a328002 commit f144e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ var (
},
{
match: func(input string) bool {
return checkRegex(`^\*[a-f0-9]{40}$`, input)
return checkRegex(`^[a-f0-9]{40}$`, input)
},
mode: []HashInfo{
{"MySQL5.x", 300, "mysql-sha1", false},
Expand Down

0 comments on commit f144e37

Please sign in to comment.