commit 484e1841d92b94fb80677fcd10fdb2c20f114645 Author: samsamfin Date: Mon Mar 23 05:07:25 2026 +0000 Upload files to "CVE-2022-30190" diff --git a/CVE-2022-30190/Migitate.ps1 b/CVE-2022-30190/Migitate.ps1 new file mode 100644 index 0000000..23afaa5 --- /dev/null +++ b/CVE-2022-30190/Migitate.ps1 @@ -0,0 +1,16 @@ +if (!(Test-Path -Path "$env:windir\Registry-Backup")) { +New-Item -Path "$env:windir\Registry-Backup" -ItemType Directory -Force | Out-Null +} + +Start-Process -FilePath "regedit.exe " ` +-ArgumentList "/E `"$env:windir\Registry-Backup\ms-msdt.reg`" `"HKEY_CLASSES_ROOT\ms-msdt`"" ` +-WindowStyle Hidden ` +-Wait + +Start-Process -FilePath "regedit.exe " ` +-ArgumentList "/E `"$env:windir\Registry-Backup\search-ms.reg`" `"HKEY_CLASSES_ROOT\search-ms`"" ` +-WindowStyle Hidden ` +-Wait + +Remove-Item -Path "registry::HKEY_CLASSES_ROOT\ms-msdt" -Force -Recurse +Remove-Item -Path "registry::HKEY_CLASSES_ROOT\search-ms" -Force -Recurse \ No newline at end of file diff --git a/CVE-2022-30190/Restore.ps1 b/CVE-2022-30190/Restore.ps1 new file mode 100644 index 0000000..fcd52eb --- /dev/null +++ b/CVE-2022-30190/Restore.ps1 @@ -0,0 +1,2 @@ +regedit.exe /S "$env:windir\Registry-Backup\ms-msdt.reg" +regedit.exe /S "$env:windir\Registry-Backup\search-ms.reg" \ No newline at end of file