Skip to content

Commit 3abb4b1

Browse files
[BugFix] Exclude the salt from reported correct pass
1 parent 49aaacd commit 3abb4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/FinderOuter/Services/CorePassService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public unsafe void MainLoop(int firstItem, ParallelLoopState loopState)
158158
loopState.Stop();
159159
report.FoundAnyResult = true;
160160

161-
char[] temp = new char[totalPassLen];
161+
char[] temp = new char[totalPassLen - searchSpace.Salt.Length];
162162
for (int i = 0; i < temp.Length; i++)
163163
{
164164
temp[i] = (char)passBaPt[i];

0 commit comments

Comments
 (0)