Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Fixed uncecessary load when no hashes are present
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrendor committed Sep 22, 2023
1 parent bc8e6f3 commit ae1d7cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ func HashToolkit_Com(hash string) Hashes {
}

func Crack(hashes []string) []Hashes {
if len(hashes) < 1 {
return LoadedHashes
}
LoadHashes(hashes)
solved := Hashes_Com(GetUnsolved())
for _, elem := range solved {
Expand Down

0 comments on commit ae1d7cb

Please sign in to comment.