Exploit databaseDownload repository ZIP
GH-88d8bc551618926a04536090300b4292
dungnm24/cve-2020-0796
Sources for CVE-2020-0796
81 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files16
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- ClearApplicationBuffer.ps1
- ClearBranchCacheBuffer.ps1
- EndTaskandRestartService.ps1
- GetHashComputationStatus.ps1
- IsHashComputationFinished.ps1
- ModifyHostedCacheProtocolPort.ps1
- RemoteExecuteCommand.ps1
- RestartService.ps1
- SetBackoffTimer.ps1
- SetHostedCacheAuthentication.ps1
- SetRequestPort.ps1
- SetRequestTimer.ps1
- StartService.ps1
- StopService.ps1
- TriggerPeerClientSendMSGGETBLKLIST.ps1
- TriggerPeerGetContentCache.ps1
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/TestSuites/BranchCache/src/COMMON/SUTControlAdapter/SUTControlAdapter/ClearBranchCacheBuffer.ps1
PowerShell · 702 bytes# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
param(
[string]$ServerComputerName = $computerName,
[string]$usr = $user,
[string]$pwd = $password
)
$serviceObj = get-service -computername $ServerComputerName PeerDistSvc
Stop-Service -inputObject $serviceObj -force
$CommandLine = "netsh branchcache flush"
.\RemoteExecuteCommand.ps1 $ServerComputerName "$CommandLine" $usr $pwd
sleep 1
#del /s /q /f C:\Windows\ServiceProfiles\NetworkService\AppData\Local\PeerDistRepub\*.*
While($serviceObj.Status -ne "Running")
{
Start-Service -inputObject $serviceObj
sleep 1
}
return $true