Skip to content

Instantly share code, notes, and snippets.

Thomas Vochten thomasvochten

Block or report user

Report or block thomasvochten

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am thomasvochten on github.
  • I am thomasvochten (https://keybase.io/thomasvochten) on keybase.
  • I have a public key ASB5sOhCp-rpV8jE5MYzIuqNQ2yLLNFPK4y-lW21GxRg5Qo

To claim this, I am signing this object:

@thomasvochten
thomasvochten / DisableCRLCheck
Last active Aug 29, 2015
Disable CRL checking in .NET's machine.config files
View DisableCRLCheck
ForEach($ver in ("v2.0.50727","v4.0.30319")) {
ForEach($bitsize in ("","64"))
{
$xml = [xml](Get-Content $env:windir\Microsoft.NET\Framework$bitsize\$ver\CONFIG\Machine.config)
If (!$xml.DocumentElement.SelectSingleNode("runtime")) {
$runtime = $xml.CreateElement("runtime")
$xml.DocumentElement.AppendChild($runtime) | Out-Null
}
If (!$xml.DocumentElement.SelectSingleNode("runtime/generatePublisherEvidence")) {
$gpe = $xml.CreateElement("generatePublisherEvidence")
You can’t perform that action at this time.