mirror of
https://github.com/2dust/v2rayN.git
synced 2026-08-19 13:42:04 +03:00
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user