aboutsummaryrefslogtreecommitdiff
path: root/contrib/Connection Patcher/Patterns/Mac.cs
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-05-10 13:30:48 +0200
committerShauren <shauren.trinity@gmail.com>2014-05-11 19:09:27 +0200
commit543a17a1b99d2a75909a4df0ca34fbea3ad19c32 (patch)
treef9b3587adba4d9df4fa08349b92283ed02d73acd /contrib/Connection Patcher/Patterns/Mac.cs
parente085f1d90952c1bcff24868ac739582186a7dc4a (diff)
Contrib: Added client patcher, original author @Fabi
Diffstat (limited to 'contrib/Connection Patcher/Patterns/Mac.cs')
-rw-r--r--contrib/Connection Patcher/Patterns/Mac.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/contrib/Connection Patcher/Patterns/Mac.cs b/contrib/Connection Patcher/Patterns/Mac.cs
new file mode 100644
index 00000000000..d518aa3c78f
--- /dev/null
+++ b/contrib/Connection Patcher/Patterns/Mac.cs
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org>
+ * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+namespace Connection_Patcher.Patterns
+{
+ class Mac
+ {
+ public static class x86
+ {
+ public static byte[] Password = { 0x0F, 0x84, 0xE3, 0x00, 0x00, 0x00, 0x8B, 0x03, 0x8B, 0x40, 0x04 };
+ }
+
+ public static class x64
+ {
+ public static byte[] Password = { 0x0F, 0x84, 0x00, 0xFF, 0xFF, 0xFF, 0x49, 0x8B, 0x45, 0x00, 0xB9, 0x40 };
+ }
+ }
+}