diff options
| author | Shauren <shauren.trinity@gmail.com> | 2018-11-22 20:11:44 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2018-11-22 20:11:44 +0100 |
| commit | a069ca177ca1ff8ef7f87458b36f0c2ca2d0bb5d (patch) | |
| tree | 1debd4afbc1dc13c1f4f47707ede65f5e9bab2af /src/tools/connection_patcher/Patterns | |
| parent | 1423d3e7f36d9601060c1cc89171801609aad352 (diff) | |
Tools: Remove patcher (will not work for bfa)
Diffstat (limited to 'src/tools/connection_patcher/Patterns')
| -rw-r--r-- | src/tools/connection_patcher/Patterns/Common.hpp | 40 | ||||
| -rw-r--r-- | src/tools/connection_patcher/Patterns/Mac.hpp | 35 | ||||
| -rw-r--r-- | src/tools/connection_patcher/Patterns/Windows.hpp | 39 |
3 files changed, 0 insertions, 114 deletions
diff --git a/src/tools/connection_patcher/Patterns/Common.hpp b/src/tools/connection_patcher/Patterns/Common.hpp deleted file mode 100644 index 95bb1b6996c..00000000000 --- a/src/tools/connection_patcher/Patterns/Common.hpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org> - * Copyright (C) 2008-2018 TrinityCore <https://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/>. - */ - -#ifndef CONNECTION_PATCHER_PATTERNS_COMMON_HPP -#define CONNECTION_PATCHER_PATTERNS_COMMON_HPP - -#include <vector> - -namespace Connection_Patcher -{ - namespace Patterns - { - struct Common - { - static std::vector<unsigned char> Portal() { return { '.', 'a', 'c', 't', 'u', 'a' , 'l', '.', 'b', 'a', 't', 't', 'l', 'e', '.', 'n', 'e', 't', 0x00 }; } - static std::vector<unsigned char> Modulus() { return { 0x91, 0xD5, 0x9B, 0xB7, 0xD4, 0xE1, 0x83, 0xA5 }; } - static std::vector<unsigned char> BinaryVersion() { return { 0x3C, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x3E }; } - static std::vector<unsigned char> VersionsFile() { return { '%', 's', '.', 'p', 'a', 't', 'c', 'h', '.', 'b', 'a', 't', 't', 'l', 'e', '.', 'n', 'e', 't', ':', '1', '1', '1', '9', '/', '%', 's', '/', 'v', 'e', 'r', 's', 'i', 'o', 'n', 's' }; } - static std::vector<unsigned char> CertBundleUrl() { return { 'h', 't', 't', 'p', ':', '/', '/', 'n', 'y', 'd', 'u', 's', '-', 'q', 'a', '.', 'w', 'e', 'b', '.', 'b', 'l', 'i', 'z', 'z', 'a', 'r', 'd', '.', 'n', 'e', 't', '/', 'B', 'n', 'e', 't', '/', 'z', 'x', 'x', '/', 'c', 'l', 'i', 'e', 'n', 't', '/', 'b', 'g', 's', '-', 'k', 'e', 'y', '-', 'f', 'i', 'n', 'g', 'e', 'r', 'p', 'r', 'i', 'n', 't' }; } - static std::vector<unsigned char> CertSignatureModulus() { return { 0x85, 0xF3, 0x7B, 0x14, 0x5A, 0x9C, 0x48, 0xF6 }; } - }; - } -} - -#endif diff --git a/src/tools/connection_patcher/Patterns/Mac.hpp b/src/tools/connection_patcher/Patterns/Mac.hpp deleted file mode 100644 index 15ec673be3e..00000000000 --- a/src/tools/connection_patcher/Patterns/Mac.hpp +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org> - * Copyright (C) 2008-2018 TrinityCore <https://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/>. - */ - -#ifndef CONNECTION_PATCHER_PATTERNS_MAC_HPP -#define CONNECTION_PATCHER_PATTERNS_MAC_HPP - -#include <vector> - -namespace Connection_Patcher -{ - namespace Patterns - { - struct Mac - { - static std::vector<unsigned char> LauncherLoginParametersLocation() { return { 'n','e','t','.','b','a','t','t','l','e',0 }; } - }; - } -} - -#endif diff --git a/src/tools/connection_patcher/Patterns/Windows.hpp b/src/tools/connection_patcher/Patterns/Windows.hpp deleted file mode 100644 index f0764227b73..00000000000 --- a/src/tools/connection_patcher/Patterns/Windows.hpp +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2012-2014 Arctium Emulation <http://arctium.org> - * Copyright (C) 2008-2018 TrinityCore <https://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/>. - */ - -#ifndef CONNECTION_PATCHER_PATTERNS_WINDOWS_HPP -#define CONNECTION_PATCHER_PATTERNS_WINDOWS_HPP - -#include <vector> - -namespace Connection_Patcher -{ - namespace Patterns - { - struct Windows - { - static std::vector<unsigned char> LauncherLoginParametersLocation() - { - char const path[] = R"(Software\Blizzard Entertainment\Battle.net\Launch Options\)"; - return std::vector<unsigned char>(std::begin(path), std::end(path)); - } - }; - } -} - -#endif |
