mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Update demonware
This commit is contained in:
parent
0ef00b5a18
commit
1a45d36a09
@ -311,7 +311,6 @@ namespace demonware
|
|||||||
|
|
||||||
hostent* __stdcall get_host_by_name(char* name)
|
hostent* __stdcall get_host_by_name(char* name)
|
||||||
{
|
{
|
||||||
printf("gethostbyname: %s\n", name);
|
|
||||||
unsigned long addr = 0;
|
unsigned long addr = 0;
|
||||||
const auto server = find_server_by_name(name);
|
const auto server = find_server_by_name(name);
|
||||||
if (server) addr = server->get_address();
|
if (server) addr = server->get_address();
|
||||||
@ -418,6 +417,10 @@ namespace demonware
|
|||||||
void post_unpack() override
|
void post_unpack() override
|
||||||
{
|
{
|
||||||
utils::hook::jump(SELECT_VALUE(0x140575880, 0x1406C0080), bd_logger_stub);
|
utils::hook::jump(SELECT_VALUE(0x140575880, 0x1406C0080), bd_logger_stub);
|
||||||
|
|
||||||
|
utils::hook::set<uint8_t>(0x140698BB2, 0); // CURLOPT_SSL_VERIFYPEER
|
||||||
|
utils::hook::set<uint8_t>(0x140698B69, 0xAF); // CURLOPT_SSL_VERIFYHOST
|
||||||
|
utils::hook::set<uint8_t>(0x14088D0E8, 0x0); // HTTPS -> HTTP
|
||||||
}
|
}
|
||||||
|
|
||||||
void pre_destroy() override
|
void pre_destroy() override
|
||||||
|
Loading…
Reference in New Issue
Block a user