From 0a1388d16c9d0b5414696a6fe4758a6f12dba951 Mon Sep 17 00:00:00 2001 From: cryptochecktool Date: Tue, 26 Nov 2024 11:38:16 +0800 Subject: [PATCH] Update CoreHandler.cs 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 +}