Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2021-1675-LPE-EXP — PrintNightmare , CVE-2021-1675或CVE-2021-34527的本地权限提升 | Kitploit
工具/GitHubGitHub/evilashz/cve-2021-1675-lpe-exp
权限提升漏洞分析漏洞利用红队二进制利用
GitHubevilashz/cve-2021-1675-lpe-exp

CVE-2021-1675-LPE-EXP

PrintNightmare , CVE-2021-1675或CVE-2021-34527的本地权限提升

查看仓库
561825年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2021-1675-LPE-EXP

CVE-2021-1675 的简单本地提权利用

使用方法

root@kitploit:~
CVE-2021-1675-LPE.exe C:\test\MyPigDLL.dll

MyPigDLL.dll 是一个测试 DLL,如果成功将创建 C:\test.txt

注意

  1. 添加了 EnumPrinterDriversW 来获取 pDriverPath,因此我们不需要每次更改“硬编码的驱动路径”。
  2. 无需与 RPC 或 SMB 配合使用,此利用将直接加载您提供的 DLL。
  3. 在 Windows Server 2008 上,pDriverPath 为:
root@kitploit:~
info.pDriverPath = (LPWSTR)L"C:\\Windows\\System32\\DriverStore\\FileRepository\\ntprint.inf_amd64_neutral_4616c3de1949be6d\\Amd64\\UNIDRV.DLL";

我无法通过 EnumPrinterDriversW 获取此路径,因此如果您想在 Windows Server 2008 上测试该利用,请在源代码中更改 info.pDriverPath。


在某些情况下它也存在一些 bug……请用粗糙的源代码进行调试 : )

在以下系统中测试成功:

root@kitploit:~
Microsoft Windows Server 2012 R2 Datacenter [版本 6.3.9600]
Microsoft Windows 10 专业版 [版本 10.0.19041.685]
Microsoft Windows Server 2008 R2 Enterprise [版本 6.1.7601]
下载工具