mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-30 23:06:20 +00:00
Update CoreHandler.cs
将Desutils替换为Aesutils,提高安全性
This commit is contained in:
parent
ca38239bce
commit
0a1388d16c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue