This commit is contained in:
2025-02-13 23:12:28 +05:30
parent 5586db326b
commit 926bb7bf5b
69 changed files with 824 additions and 115 deletions

View File

@@ -13,11 +13,11 @@
## How does it work?
![](/img/MAS-before-ohook.png)
![](/img/MAS-before-ohook.svg)
- As illustrated in the above 1st image, in the Official activation process of SPP based Office, Office asks `C:\Windows\System32\sppc.dll` about the activation status and that file asks the same thing to SPP (Software Protection Platform) `C:\Windows\System32\sppsvc.exe` and returns the message back to Office.
![](/img/MAS-after-ohook.png)
![](/img/MAS-after-ohook.svg)
- As illustrated in the above 2nd image, we modify this behavior by placing a custom `sppc.dll` file in Office folder without touching system's `C:\Windows\System32\sppc.dll` file and that custom file always returns the message that Office is activated. This is how ohook activation works.
- You can find the source code of ohook custom sppc.dll file [here](https://github.com/asdcorp/ohook).