From fa059d38471512ff6bf85f23b6647344fb2f97e1 Mon Sep 17 00:00:00 2001 From: FutureRave Date: Sun, 29 Jan 2023 01:51:56 +0000 Subject: [PATCH] [General]: Remove playlist download code --- src/Components/Modules/Security.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Components/Modules/Security.cpp b/src/Components/Modules/Security.cpp index 9c45e24a..e374a1c1 100644 --- a/src/Components/Modules/Security.cpp +++ b/src/Components/Modules/Security.cpp @@ -148,5 +148,15 @@ namespace Components // Fix packets causing buffer overflow Utils::Hook(0x6267E3, NET_DeferPacketToClientStub, HOOK_CALL).install()->quick(); + + // Prevent curl 7_19_4 from running + // Call to DL_Init from Live_Init + Utils::Hook::Nop(0x420937, 5); + // Call to DL_CheckOngoingDownloads from Live_Frame + Utils::Hook::Nop(0x40F8DB, 5); + // Call to LiveStorage_FetchPlaylists from Live_Frame + Utils::Hook::Nop(0x40F88C, 5); + // Call to LiveStorage_FetchPlaylists from Live_Init + Utils::Hook::Nop(0x420B54, 5); } }