[Security] Disable CL_ShellExecute_URL_f

This commit is contained in:
Diavolo 2022-07-09 20:02:38 +02:00
parent fd92e36424
commit 12ad4910ad
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -15,6 +15,11 @@ public:
utils::hook(0x57680C, net_defer_packet_to_client, HOOK_CALL).install()->quick(); // SV_ConnectionlessPacket
}
else if (game::is_sp())
{
// Disable CL_ShellExecute_URL_f
utils::hook::nop(0x4298F6, 5);
}
}
private: