From 36ad9a23b463ce53393efd0cbdee3efb54b45678 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Sun, 19 Oct 2025 17:15:27 -0500 Subject: [PATCH] Log the nonce that should've passed Kiwi Flare challenge --- KfChatDotNetBot/Services/KiwiFlare.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KfChatDotNetBot/Services/KiwiFlare.cs b/KfChatDotNetBot/Services/KiwiFlare.cs index 9ae8457..adcf723 100644 --- a/KfChatDotNetBot/Services/KiwiFlare.cs +++ b/KfChatDotNetBot/Services/KiwiFlare.cs @@ -84,14 +84,14 @@ public class KiwiFlare(string kfDomain, string? proxy = null, CancellationToken? nonce++; var input = Encoding.UTF8.GetBytes($"{challenge.Salt}{nonce}"); if (!TestHash(SHA256.HashData(input), challenge.Difficulty)) continue; - _logger.Debug($"Hash passed the test, nonce: {nonce}"); + _logger.Info($"Hash passed the test, nonce: {nonce}"); return Task.FromResult(new KiwiFlareChallengeSolutionModel { Nonce = nonce, Salt = challenge.Salt }); } - } + } public async Task SolveChallenge(KiwiFlareChallengeModel challenge) {