Skip to content

Commit

Permalink
Fix id style before indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliux committed Aug 16, 2024
1 parent 9ad7bd1 commit 6c6d2df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/Kryptor.Cli.Shared/Wordlist/IndexSessionHost.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

Expand Down Expand Up @@ -41,9 +42,9 @@ public override void Start(ClientContext context)
WordlistIndex Index = IndexContainer.Prefs;
WordlistIndexV2 IndexV2 = new WordlistIndexV2();

foreach (System.Collections.Generic.KeyValuePair<string, WordlistIndexEntry> entry in Index.Wordlists)
foreach (KeyValuePair<string, WordlistIndexEntry> entry in Index.Wordlists)
{
string id = entry.Key;
string id = entry.Key.ToLower().Replace('_', '-').Replace(' ', '-');
WordlistIndexEntryV2 entryV2;

if (IndexV2.ContainsId(id))
Expand Down

0 comments on commit 6c6d2df

Please sign in to comment.