Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2020-1048 — POC exploit code for CVE-2020-1048(PrintDemon) | Kitploit
Tools/GitHubGitHub/shubham0d/cve-2020-1048
Privilege EscalationVulnerability AnalysisExploitationPayload Development
GitHubshubham0d/cve-2020-1048

CVE-2020-1048

POC exploit code for CVE-2020-1048(PrintDemon)

View Repository
125106 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2020-1048

POC exploit code for CVE-2020-1048(PrintDemon)

Vulnerable Systems

All Windows version below mentioned in the link are vulnerable: https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1048

Steps to reproduce

  1. Change the variables g_PortName and g_InputFile present at the top of Source.c.
  2. Compile and run using Visual studio.
  3. Restart the printer service(spoolsv) or Restart your system.

Notes

  • In case you want to persist the port and printer creation or want the attack to occur after restart of system, you can exit the program using Ctrl^C once the program ask to press Enter.
  • getshell.dll is included which you can use as a payload to spawn a command prompt as SYSTEM privilege.

Reference

https://windows-internals.com/printdemon-cve-2020-1048/
https://github.com/ionescu007/PrintDemon

Download Tool