Results 1 to 15 of 32

Threaded View

  1. #1
    HL-SDK's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    56
    Reputation
    11
    Thanks
    26

    Alternative PTC, Holy shit!

    [php] void RunConsoleCommand(const char* szCommand )
    {
    DWORD ltClient = 0x377ED910;
    __asm
    {
    mov eax, [ltClient]; //interface dereference
    mov esi, [eax + 0x208]; //vtable dereference //we could push and call ESI now
    mov edx, [esi + 0x01]; //jump operand dereference. EDX holds the EIP displacement
    add edx, 5; //displacement adjustment
    mov eax, esi; //setting up call to eax
    add eax, edx;
    push szCommand;
    call eax;
    add esp, 4;
    }
    }[/php]
    Disassembly? You could go further and invent more PTC methods but it is useless.

    Perhaps this forum should have a stickied thread of useful information in it, like structures and interface definitions.
    Last edited by HL-SDK; 10-12-2010 at 07:09 PM.
    loksmith is a fucking moron

  2. The Following 5 Users Say Thank You to HL-SDK For This Useful Post:

    CodeDemon (10-12-2010),DeadLinez (10-12-2010),Gab (10-12-2010),UGodly (10-14-2010),whit (10-12-2010)

Similar Threads

  1. Holy Shit
    By Dave84311 in forum General
    Replies: 39
    Last Post: 08-29-2010, 05:16 AM
  2. Holy Shit So Funny
    By iverson954360 in forum General
    Replies: 7
    Last Post: 07-19-2009, 01:27 PM
  3. Make Master trainer !!holy shit
    By llvengancell in forum WarRock - International Hacks
    Replies: 5
    Last Post: 05-31-2007, 10:16 AM
  4. HOLY SHIT, look at what i found out
    By iverson954360 in forum General
    Replies: 16
    Last Post: 09-16-2006, 07:30 AM
  5. Fishing Store is upgraded! Holy Shit
    By Kyojiro in forum General
    Replies: 13
    Last Post: 04-22-2006, 08:20 PM