Exploit databaseDownload repository ZIP
GH-ea91ecf629103514d4b348ce44007631
jamf/cve-2020-1206-poc
Sources for CVE-2020-1206
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files16
jamf/cve-2020-1206-pocRevision 9e917e593af3
- ↑..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.
TestSuites/BranchCache/src/COMMON/SUTControlAdapter/SUTControlAdapter/SetBackoffTimer.ps1
PowerShell · 949 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]$value = $timerInMilliseconds,
[string]$ServerComputerName = $computerName,
[string]$usr = $user,
[string]$pwd = $password
)
####################################
# Update register
####################################
try
{
# Get 64 bit registry remotely from a 32 bit application.
REG ADD "\\$ServerComputerName\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PeerDist\DiscoveryManager" /v MinBackoffWindow /t REG_DWORD /d $value /REG:64 /f
}
catch
{
"SUT control set excaption happened, failed to set backoff timer!"
}
finally
{
sleep(2)
}
return $true