From 7a1d12be7697442618bef1389d36ba90ba8134c5 Mon Sep 17 00:00:00 2001 From: cryptochecktool Date: Tue, 26 Nov 2024 13:54:12 +0800 Subject: [PATCH] Update CoreHandler.cs (#6163) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将Desutils替换为Aesutils,提高安全性 --- v2rayN/ServiceLib/Handler/CoreHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2rayN/ServiceLib/Handler/CoreHandler.cs b/v2rayN/ServiceLib/Handler/CoreHandler.cs index dc597167..c16f3fb9 100644 --- a/v2rayN/ServiceLib/Handler/CoreHandler.cs +++ b/v2rayN/ServiceLib/Handler/CoreHandler.cs @@ -323,7 +323,7 @@ namespace ServiceLib.Handler if (isNeedSudo && _config.TunModeItem.LinuxSudoPwd.IsNotEmpty()) { - var pwd = DesUtils.Decrypt(_config.TunModeItem.LinuxSudoPwd); + var pwd = AesUtils.Decrypt(_config.TunModeItem.LinuxSudoPwd); await Task.Delay(10); await proc.StandardInput.WriteLineAsync(pwd); await Task.Delay(10); @@ -418,4 +418,4 @@ namespace ServiceLib.Handler #endregion Process } -} \ No newline at end of file +}