const alwaysTrueHook = (name, address) => {
Interceptor.attach(address, {
onLeave: function (retval) {
if (retval != 0x1) {
console.log(`[~] ${name} failed, patching... [${retval} -> 0x1]`);
retval.replace(0x1);
} else {
console.log(`[i] ${name} successful, no patch needed.`);
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using SixLabors.ImageSharp; | |
| using SixLabors.ImageSharp.PixelFormats; | |
| using SixLabors.ImageSharp.Processing; | |
| using System.Collections.Generic; | |
| namespace picture_perfet | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |
I hereby claim:
- I am veselysps on github.
- I am notmarek (https://keybase.io/notmarek) on keybase.
- I have a public key ASA-We2iqUbjy-ohM8eCmztCJ0qdTxg0ue05VAjroSzxfwo
To claim this, I am signing this object:
NewerOlder