Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2013-3900-Remediation-Script — 用于修复CVE-2013-3900的PowerShell脚本,通过注册表加固在Windows系统上启用证书填充检查。 | Kitploit
工具/GitHubGitHub/davidbr27/cve-2013-3900-remediation-script
漏洞分析配置审计密码学错误配置
GitHubdavidbr27/cve-2013-3900-remediation-script

CVE-2013-3900-Remediation-Script

用于修复CVE-2013-3900的PowerShell脚本,通过注册表加固在Windows系统上启用证书填充检查。

查看仓库

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
1年前尚未审核
root@kitploit:~
# CVE-2013-3900 Remediation Script

# Define registry paths for both 32-bit and 64-bit configurations
$regPaths = @(
    "HKLM:\Software\Microsoft\Cryptography\Wintrust\Config",
    "HKLM:\Software\Wow6432Node\Microsoft\Cryptography\Wintrust\Config"
)

# Function to add or update the registry key
function Set-EnableCertPaddingCheck {
    param (
        [string]$path
    )
    if (!(Test-Path $path)) {
        New-Item -Path $path -Force | Out-Null
    }
    Set-ItemProperty -Path $path -Name "EnableCertPaddingCheck" -Value 1 -Type DWord
}

# Apply the fix to both registry paths
foreach ($path in $regPaths) {
    Set-EnableCertPaddingCheck -path $path
}

# Confirm changes
Write-Host "Registry keys updated successfully!" -ForegroundColor Green

# Verify the changes
foreach ($path in $regPaths) {
    $value = Get-ItemProperty -Path $path | Select-Object -ExpandProperty EnableCertPaddingCheck -ErrorAction SilentlyContinue
    if ($value -eq 1) {
        Write-Host "Verification successful for $path: EnableCertPaddingCheck = 1" -ForegroundColor Green
    } else {
        Write-Host "Verification failed for $path!" -ForegroundColor Red
    }
}

# Restart the system to apply changes
Write-Host "Restarting system in 10 seconds to apply changes..." -ForegroundColor Yellow
Start-Sleep -Seconds 10
Restart-Computer -Force
下载工具