微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

提升的进程忽略他们的特权

如何解决提升的进程忽略他们的特权

我不太明白 Windows 进程特权系统是如何工作的。当我以管理员身份(即提升)启动我的应用程序时,根据 Process Explorer,它的 protected function resolve($name) { $config = $this->getConfig($name); if (is_null($config)) { throw new invalidargumentexception("Mailer [{$name}] is not defined."); } // Once we have created the mailer instance we will set a container instance // on the mailer. This allows us to resolve mailer classes via containers // for maximum testability on said classes instead of passing Closures. $mailer = new Mailer( $name,$this->app['view'],$this->createSwiftMailer($config),$this->app['events'] ); if ($this->app->bound('queue')) { $mailer->setQueue($this->app['queue']); } // Next we will set all of the global addresses on this mailer,which allows // for easy unification of all "from" addresses as well as easy debugging // of sent messages since these will be sent to a single email address. foreach (['from','reply_to','to','return_path'] as $type) { $this->setGlobalAddress($mailer,$config,$type); } return $mailer; } 权限存在但被禁用。尽管如此,使用 SeCreateSymbolicLinkPrivilege 创建符号链接效果很好。

我的理解是,应用程序需要使用 CreateSymbolicLink() 请求权限,然后才能执行需要给定权限的操作(将其状态从“已禁用”更改为“已启用”)。显然情况并非如此。这是否意味着提升的进程免于特权检查?我找不到有关该主题的任何文档。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。