2.3.2 Tls menu

User Tag List

Thread: 2.3.2 Tls

Results 1 to 3 of 3
  1. #1
    Whalemarte's Avatar Member
    Reputation
    6
    Join Date
    Aug 2007
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2.3.2 Tls

    For everyone who uses TLS based memory "scanners" the new TLS pointer is 0xE5C284. This is the method greyman used, posted here WoW.DeV • View topic - Proof of concept code - WoW memory reading . I have a post on page three that outlines my _getBaseOffset() method on page 3 without the win32 util files.

    2.3.2 Tls
  2. #2
    raindog's Avatar Active Member
    Reputation
    68
    Join Date
    Dec 2007
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I prefer something like what follows, but greyman did a great job of explaining everything.

    Code:
    void SwapTlsData(DWORD ThreadId1, DWORD ThreadId2)
    {
        __try
        {
            MMGetThreadTeb(ThreadId1)->ThreadLocalStoragePointer = MMGetThreadTeb(ThreadId2)->ThreadLocalStoragePointer;
        }
        __except(UnhandledExceptionFilter( GetExceptionInformation() ))
        {
            //ignore
        }
    }
    
    PTEB MMGetCurrentTeb()
    {
        LPVOID pTeb = NULL;
        __asm
        {
            mov eax,fs:[00000018h]
            mov pTeb , eax
        }
        return (PTEB)pTeb;
    }
    
    PTEB MMGetThreadTeb(DWORD ThreadId)
    {
        CONTEXT Context;
        LDT_ENTRY SelEntry;
        HANDLE hThread = OpenThread(THREAD_ALL_ACCESS,TRUE, ThreadId);
        if(!hThread)
            return NULL;
        Context.ContextFlags = CONTEXT_FULL | CONTEXT_DEBUG_REGISTERS;
        GetThreadContext(hThread,&Context);
        GetThreadSelectorEntry(hThread, Context.SegFs, &SelEntry);
        PTEB pTEB = (PTEB)(( SelEntry.HighWord.Bits.BaseHi << 24) | (SelEntry.HighWord.Bits.BaseMid << 16) | SelEntry.BaseLow);
        CloseHandle(hThread);
        return pTEB;
    }

  3. #3
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The tls pointer is still the same with 2.3.3 :-)

Similar Threads

  1. Get Player Base NO TLS + Delphi code [2.3.3]
    By robotkid in forum WoW Memory Editing
    Replies: 26
    Last Post: 05-08-2008, 08:33 PM
  2. Autoit source for TLS
    By Whalemarte in forum WoW Memory Editing
    Replies: 21
    Last Post: 04-05-2008, 10:00 PM
  3. TLS retrieve objet names??
    By unknwon in forum WoW Memory Editing
    Replies: 2
    Last Post: 03-24-2008, 05:32 AM
  4. Delphi source for TLS
    By radegast in forum WoW Memory Editing
    Replies: 9
    Last Post: 03-23-2008, 08:36 PM
  5. TLS based offsets/adresses
    By AticAtac in forum WoW Memory Editing
    Replies: 12
    Last Post: 03-14-2008, 05:52 AM
All times are GMT -5. The time now is 07:00 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search