From c6582096ab0d80d67bbbe055468f1ca3e3ab9b2b Mon Sep 17 00:00:00 2001 From: Treeston Date: Fri, 21 Aug 2020 01:19:28 +0200 Subject: Core/Warden: Add Lua checks to Warden (PR #25286) (cherry picked from commit 0531463a3c02d98ed77e9c7689ad7237ecaddc09) --- .../world/master/2022_02_03_24_world_2020_08_21_00_world.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sql/updates/world/master/2022_02_03_24_world_2020_08_21_00_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2022_02_03_24_world_2020_08_21_00_world.sql b/sql/updates/world/master/2022_02_03_24_world_2020_08_21_00_world.sql new file mode 100644 index 00000000000..fbe7598a97b --- /dev/null +++ b/sql/updates/world/master/2022_02_03_24_world_2020_08_21_00_world.sql @@ -0,0 +1,6 @@ +-- +DELETE FROM `warden_checks` WHERE `id` IN (788,789,790); +INSERT INTO `warden_checks` (`id`,`type`,`str`,`address`,`length`,`result`, `comment`) VALUES +(788, 139, 'forceinsecure() return issecure()', NULL, NULL, NULL, 'Detects naive Lua unlockers'), +(789, 139, 'return not not PQR_IsMoving', NULL, NULL, NULL, 'Detects PQR'), +(790, 139, 'local f=DEFAULT_CHAT_FRAME for i=1,f:GetNumMessages() do if (f:GetMessageInfo(i)):find("|cffffd200PQR|r") then return true end end', NULL, NULL, NULL, 'Detects PQR'); -- cgit v1.2.3