Exploit database

GH-88d8bc551618926a04536090300b4292

dungnm24/cve-2020-0796

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-0796

81 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files93Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

WindowsProtocolTestSuites/CommonScripts/Find-PtfConfigFiles.ps1

PowerShell · 981 bytes
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.

##############################################################################
#
# Microsoft Windows Powershell Scripting
# File:           Find-PtfConfigFiles.ps1
# Purpose:        Find PtfConfig files in both \bin and source\server\testcode\testsuite folders.
# Requirements:   Windows Powershell 2.0
# Supported OS:   Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2,
#                 Windows Server 2016 and later
#
##############################################################################

Param
(
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
	[string]$FileName
)

$PtfConfigFiles = dir "$env:SystemDrive\MicrosoftProtocolTests" -Recurse | where{$_.Name -eq $FileName}
if($PtfConfigFiles.Length -eq 0)
{
    Write-Host "There is no PTF config files found."
}

return $PtfConfigFiles