* Tools/Launcher: Introduce version 1 of the client launcher/patcher the launcher downloads all needed modules and patches the needed one the launcher patches the RSA key in memory before WoW window opens the launcher injects the client_patcher_xx.dll inside Wow the client_patcher_xx.dll hooks LoadLibraryW and awaits Battle.net.dll load the client_patcher_xx.dll patches the Battle.net.dll memory before it is returned to process client_patcher_xx.dll unhooks itself * Tools/Launcher: MinHook only for tools and on windows
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
/*
|
|
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
|
|
*
|
|
* 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 2 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 ClientLauncherPatternsWindows_h__
|
|
#define ClientLauncherPatternsWindows_h__
|
|
|
|
#include <vector>
|
|
|
|
namespace ClientLauncher
|
|
{
|
|
namespace Patterns
|
|
{
|
|
namespace Windows
|
|
{
|
|
struct x86
|
|
{
|
|
static const std::vector<unsigned char> Password() { return { 0x74, 0x89, 0x8B, 0x16, 0x8B, 0x42, 0x04 }; }
|
|
};
|
|
|
|
struct x64
|
|
{
|
|
static const std::vector<unsigned char> Password() { return { 0x74, 0x84, 0x48, 0x8B, 0x03 }; }
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif // ClientLauncherPatternsWindows_h__
|