From c29eaa87dfccbbe8a20605a08a15d2b20a4b88a1 Mon Sep 17 00:00:00 2001 From: Ceiridge Date: Sat, 17 Apr 2021 15:11:12 +0200 Subject: [PATCH] Fix: Patterns for Chrome 90 --- .../ChromeDevExtWarningPatcher.csproj | 2 +- ChromeDllInjector/Properties/AssemblyInfo.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- ChromePatcherDll/ChromePatcherDll.rc | 4 ++-- README.md | 23 ++++++++++--------- patterns.xml | 12 ++++++---- 6 files changed, 24 insertions(+), 21 deletions(-) diff --git a/ChromeDevExtWarningPatcher/ChromeDevExtWarningPatcher.csproj b/ChromeDevExtWarningPatcher/ChromeDevExtWarningPatcher.csproj index 87f53d8..fdde211 100644 --- a/ChromeDevExtWarningPatcher/ChromeDevExtWarningPatcher.csproj +++ b/ChromeDevExtWarningPatcher/ChromeDevExtWarningPatcher.csproj @@ -5,7 +5,7 @@ net5.0-windows enable true - 5.0.0.0 + 5.1.0.0 Ceiridge Chromium Developer Extension Warning Patcher diff --git a/ChromeDllInjector/Properties/AssemblyInfo.cs b/ChromeDllInjector/Properties/AssemblyInfo.cs index 6897f11..62286fd 100644 --- a/ChromeDllInjector/Properties/AssemblyInfo.cs +++ b/ChromeDllInjector/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.1.0.0")] [assembly: AssemblyFileVersion("2.0.0.0")] diff --git a/ChromeDllInjectorBuildZipper/Properties/AssemblyInfo.cs b/ChromeDllInjectorBuildZipper/Properties/AssemblyInfo.cs index b7bc3f1..73dd5ba 100644 --- a/ChromeDllInjectorBuildZipper/Properties/AssemblyInfo.cs +++ b/ChromeDllInjectorBuildZipper/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("5.0.0.0")] +[assembly: AssemblyVersion("5.1.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ChromePatcherDll/ChromePatcherDll.rc b/ChromePatcherDll/ChromePatcherDll.rc index 7a406e6..c8bcb6f 100644 --- a/ChromePatcherDll/ChromePatcherDll.rc +++ b/ChromePatcherDll/ChromePatcherDll.rc @@ -52,7 +52,7 @@ END VS_VERSION_INFO VERSIONINFO FILEVERSION 5,0,0,0 - PRODUCTVERSION 5,0,0,0 + PRODUCTVERSION 5,1,0,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -74,7 +74,7 @@ BEGIN VALUE "LegalCopyright", "GNU General Public License 3, Ceiridge" VALUE "OriginalFilename", "ChromePatcherDll.dll" VALUE "ProductName", "Chromium Developer Extension Warning Patcher" - VALUE "ProductVersion", "5.0.0.0" + VALUE "ProductVersion", "5.1.0.0" END END BLOCK "VarFileInfo" diff --git a/README.md b/README.md index ca9d200..d1d7b9a 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,30 @@ # Disable Chromium's and Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup -**Download** it in the [release section](https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher/releases). The patterns and patches auto-update with the `patterns.xml`. The [.NET 5 Desktop Runtime](https://dotnet.microsoft.com/download/dotnet/5.0/runtime) is required. +**Download** it in the [release section](https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher/releases). The [.NET 5 Desktop Runtime](https://dotnet.microsoft.com/download/dotnet/5.0/runtime) is required. All patterns and patches auto-update with the `patterns.xml` on every install. ## Supported browsers See below for the custom paths (commandline option). ```javascript -(✓ represents fully supported and tested browsers) -- All x64 bit Chromium-based browsers, including: +(✓ represents mostly supported and tested browsers) +All x64 bit Chromium-based browsers, including: - Chrome ✓ -- Chromium -- Brave ✓ +- Chromium ✓ - Edge ✓ +- Brave ✓ +- Ungoogled Chromium ? - Opera ? +- Yandex Browser - Vivaldi - Blisk - Colibri - Epic Browser - Iron Browser -- Ungoogled Chromium ? ``` ## Gui Screenshot ![Gui Screenshot](https://raw.githubusercontent.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher/master/media/guiscreenshot.png) ## Commandline Options -All commandline options are **optional** and not required. If none are given, the gui will start. **Warning**: The command line cannot uninstall the entire patcher and if you run it with customPath, all other installations will be removed! +All commandline options are **optional** and not required. If none are given, the gui will start. **Warning**: The inferior command line cannot uninstall the entire patcher and if you run it with customPath, all other installations will be removed! ``` ChromeDevExtWarningPatcher.exe @@ -45,10 +46,10 @@ Chrome (default): "C:\Program Files (x86)\Google\Chrome\Application" Brave: "C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application" Edge: "C:\Program Files (x86)\Microsoft\Edge\Application" -Remember: The path always needs to include the latest version folder of the browser (e. g. 83.0.1123.123). -Create a new issue with a path, if you want to contribute to this list. +Remember: The folder of the path always needs to include the latest version folder of the browser (e. g. 83.0.1123.123). +(Create a new issue with a path, if you want to contribute to this list.) ``` -Find more [here](https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher/tree/master/ChromeDevExtWarningPatcher/InstallationFinder/Defaults). +Find more paths [here](https://github.com/Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher/tree/master/ChromeDevExtWarningPatcher/InstallationFinder/Defaults). ## What can it patch @@ -78,6 +79,6 @@ Chrome-Developer-Mode-Extension-Warning-Patcher is released into the public doma Disclaimer: This repository and the used names "Chrome", "Chromium", "Edge" in this project are not affiliated with or endorsed by Google LLC, Microsoft, The Chromium Project, Microsoft Edge, Google Chrome or other third parties. This repository and the used names "Chrome", "Chromium", "Edge" are also not affiliated with any existing trademarks. -**No code was copied** or used from any other browser in this repository. Chromium is licensed under the open source BSD License. +No code was copied or used from any other browser in this repository. Chromium is licensed under the open source BSD License. This repository does not infringe any copyright of proprietary browsers, as it only patches bytes on the end user's computer, without having any copyright-protected code or text included in this repository. diff --git a/patterns.xml b/patterns.xml index e438e9e..d796fbb 100644 --- a/patterns.xml +++ b/patterns.xml @@ -9,9 +9,11 @@ Normally, I prefer JSON over XML, but C# already has XML parsing built-in, so no extra library is needed. Create a new issue if a pattern stops working with any browser. + + New method: Debug Chrome in WinDBG, download the respective chrome.dll.pdb and load it for the chrome.dll module. Then use x /D /f chrome_**!*FUNCTION_NAME* to search for functions. Note down the offset and find it in a disassembler to make a pattern/signature. --> - + @@ -22,16 +24,16 @@ - 41 57 41 56 41 55 41 54 56 57 53 48 83 EC ? 48 8B 05 ? ? ? ? 48 31 E0 48 89 44 24 ? 80 79 ? ? 0F 85 ? ? ? ? 48 89 CE 48 83 C2 ? + 41 57 41 56 41 55 41 54 56 57 53 48 83 ec ? 48 8b 05 ? ? ? ? 48 31 e0 48 89 44 ? ? 80 79 ? ? 0f 85 ? ? ? ? 49 89 cd 48 83 c2 ? 48 8d 05 ? ? ? ? 48 89 d1 48 89 c2 e8 ? ? ? ? 48 8d 78 ? 48 85 c0 48 0f 44 f8 49 8b 55 ? 48 85 d2 74 ? 49 8d 45 ? 48 89 c1 41 57 41 56 56 57 53 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 31 E0 48 89 84 24 ? ? ? ? 80 79 ? ? 74 ? 48 8B 8C 24 ? ? ? ? 48 31 E1 E8 ? ? ? ? 90 48 81 C4 ? ? ? ? 5B 5F 5E 41 5E 41 5F C3 48 89 CE 48 83 C2 ? - - 48 83 EC ? E8 ? ? ? ? 85 C0 0F 95 C0 48 83 C4 ? C3 ? ? ? ? ? ? ? ? ? ? ? ? ? 41 56 + + 41 56 56 57 53 48 83 ec ? 48 8b 05 ? ? ? ? 48 31 e0 48 89 44 ? ? 48 8b 01 ff 90 ? ? ? ? 31 ff 48 85 c0 0f 84 ? ? ? ? 4C 8b b0 ? ? ? ? 4D 85 f6 0f 84 - 56 48 83 EC ? 48 89 CE 48 8D 0D ? ? ? ? 31 D2 E8 ? ? ? ? 84 C0 75 ? 48 89 F1 + 56 48 83 EC ? 48 89 CE 48 8D 0D ? ? ? ? 31 D2 E8 ? ? ? ? 84 C0 75 ? 48 89 F1