Jump to content
TrinityCore
Sign in to follow this  
gerripeach

Warden PQR detection

Recommended Posts

Hi,

I want to use Warden, to detect weather a player is using PQR.

First I decompiled PQR and found out that the programm injects some LUA code into the client.

  • If I use /run print(SOME_PQR_VARIABLE) before starting PQR the output will is nil as expected. 
  • If I use /run print(SOME_PQR_VARIABLE) after starting PQR the output will is a value/adress/none depends on what I print.

 

In the Warden.h there is this Check

    LUA_STR_CHECK           = 0x8B, // 139: byte luaNameIndex (check to ensure LUA string isn't used

I created a warden_ckeck in the DB with:

    INSERT INTO `warden_checks` (`id`, `type`, `data`, `str`, `address`, `length`, `result`, `comment`) VALUES (1, 139, '', 'SOME_PQR_VARIABLE', 0, 0, '', '');

Unfortunately the client always returns 1. No matter if PQR is injected or not. And this is my Problem. Either way this type of Warden check is not properly implemented yet or I do something wrong with the SQL statement.

 

 

injected_pqr_code.lua

Edited by gerripeach
  • Upvote 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×