GithubHelp home page GithubHelp logo

valinet / newoutlookpatcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zer0condition/gdrvloader

103.0 103.0 2.0 3.53 MB

Disable ads and product placement in new Outlook for Windows app

License: GNU General Public License v3.0

C++ 96.12% C 3.73% C# 0.15%

newoutlookpatcher's Introduction

Hi

I'm Valentin Radu, an engineer that's passionate about computers, embedded devices, software and hacking. I created this web site so that I can share my knowledge on various topics with the world, exchange ideas, and receieve feedback. Read more about who I am here.

newoutlookpatcher's People

Contributors

valinet avatar zer0condition avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

endermanch

newoutlookpatcher's Issues

Application is x64-only

The app core is portable, i.e. patches themselves are JavaScript/CSS injected in a web page. The infrastructure around the application is not portable at the moment:

  • IAT patching in worker
  • COM objects virtual table patching in worker
  • Kernel mode driver is tested only on x64, but in theory should work on ARM64 as well
  • Main problem is with the driver loader - GIGABYTE's driver is, of course, x64-only. Find an alternate driver and craft an exploit around it for ARM64. Alternatively, find another method altogether to install the worker in Outlook's program folder in a friction-less way.

Due to limited time on hand, I won't be taking on porting this to ARM64, but I support/encourage anyone willing to attempt a port. I suggest starting with a solid plan first which you can describe here.

Support for command line arguments

Yeah, might be useful in some scenarios. I personally do not have a need at the moment, but I plan to eventually implement this at some point.

Windows warning about gdrv.sys when i try to patch

image

Sorry the fact the dialogs are in Brazilian Portuguese, but when i try to click on Patch and accept the UAC dialog, this warning shows up and when Outlook reopens the changes wasnt applied.

Is this expected?

Overcomplicated / RivaTuner conflict

Windows 11 23H2 + Core Isolation disabled

Bug check โ€” seems to be conflicting with the RivaTuner driver (or could it be the privilege escalation CVE you're exploiting in that driver?)
https://twitter.com/endermanch/status/1773659046261792895

image

Workaround

Change owner, then tweak the ACL for WindowsApps. Could be served as a prerequisite.
Make the changes, revert the changes to the ACL and switch back the owner.

image

Preferrably serve the injector separately.
Not everything has to have a one-click solution ๐Ÿ˜‰

Support for remembering settings

The current version of the patcher does not read back the settings it has made on a previous run on olk.exe. This is kind of by design at the moment, due to the nature of how this patcher works: it patches the worker/kernel mode driver on the fly by altering strings in the code, thus enabling different behavior. Basically, everyone is running their custom version of the binaries, depending on what options they choose in the GUI.

Due to limited time and use of this functionality, I won't implement it for the time being.

Ads are only hidden in "Focus" mode

Per title, when setting the Inbox layout to "Don't sort my messages", the Ads still show up:

image

When setting it to "Focus", the ads are properly hidden:

image

You have Microsoft Outlook Version 1.2024.605.100 (Production).
Client Version is 20240531006.12 .
WebView2 Version is 125.0.2535.92 .

Thanks Val!

Hey man, hope you're well :)
Thanks for the patcher, working well for me on my 22631.3447 build!
I seem to have to run it a few times for it to hook or whatever its doing, but it does work

I read the readme and only just briefly skimmed the code, but maaaaan that looks like it must've been a lot of work! 5 sub projects!

Yea the WindowsApps folder is hard to deal with in userspace. The only way I found to be able to tinker with anything was to allow loose windows apps on my D:\ drive, which is fine for testing but isn't great for an actual release

Anyway just wanted to stop by and say hi and thank you :)

Application is English-only

In theory it is translatable. Due to the limited scope at the moment, plus not wanting to commit to maintaining localization files, this functionality won't be implemented.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.