Tls 2.4.3 C# does this look resonable? menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tls 2.4.3 C# does this look resonable?

    Hi, its been awhile since i posted anything but im doing it now so if anyone would like to answer some of my questions it would be kind

    1. the new Tls-Index for 2.4.3 is 0xE2563C? right, i looked it up with Ida

    2. this part of code i dont fully understand , the slot is the Tls-Index right?
    and the tlsoffset i read on another thread that it shoud be 0x08 for 2.4.3 but if u look at the other piece of code it reads the tls offset from base adress of the thread + 0x2C? and the value of the offset would be 0x153500.

    Code:
    int tlsoffset = m_Memory.ReadInteger((int)tbi.TebBaseAddress + 0x2C);
    int targetslot = m_Memory.ReadInteger(tlsoffset + (slot * 4));
    WowObjectBasePointer = m_Memory.ReadInteger(targetslot + 8);
    long MyGUID = m_Memory.ReadLong(targetslot + 16);
    3.After you get the WowObjectBasePointer how would you go on to copy/enumerate the mob/player data struct?

    i know some of this questions has been asked before and kynox posted c++ source an app that fetches the pointer. but have mercy im currently learning c++ got 1 book ive been studying C# for about 1 year now also bought a book recently: Exploiting Online Games: Cheating Massively Distrubuted System. Its quite nice and helped me some.
    :wave:


    this is the output im getting now.

    Code:
    int WowObjectBasePointer = 0;
    
                uint THREAD_QUERY_INFORMATION = 0x40;
                IntPtr snaphandle = IntPtr.Zero;
                IntPtr threadhandle = IntPtr.Zero;
    
                MemoryReader m_Memory = new MemoryReader();
                Process[] listProcesses = Process.GetProcesses();
    
                int PID = 0;
                bool WoWfound = false;
    
                int index = 0;
                for (int i = 0; i < listProcesses.Length; i++)
                    if (listProcesses[i].MainWindowTitle == "World of Warcraft")
                    { PID = listProcesses[i].Id; WoWfound = true; index = i; break; }
    
                if (WoWfound != false)
                {
                    m_Memory.Open(listProcesses[index]);
                }
                else
                    MessageBox.Show("Unable to find Wow");
    
    
    
                int slot = m_Memory.ReadInteger(0xE2563C);
    
                snaphandle = CreateToolhelp32Snapshot(MemoryReader.TH32CS_SNAPTHREAD, 0);
                if (snaphandle != null)
                {
                    THREADENTRY32 info = new THREADENTRY32();
                    info.dwSize = (uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(THREADENTRY32));
                    bool morethreads = true;
                    bool found = false;
                    if (Thread32First(snaphandle, ref info))
                    {
                        while (morethreads && !found)
                        {
                            if (info.th32OwnerProcessID == m_Memory.ReadProcess.Id)
                            {
                                threadhandle = OpenThread(THREAD_QUERY_INFORMATION, false, info.th32ThreadID);
                                if (threadhandle != null)
                                {
                                    THREAD_BASIC_INFORMATION tbi = new THREAD_BASIC_INFORMATION();
                                    if (NtQueryInformationThread(threadhandle, 0, ref tbi, (uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(THREAD_BASIC_INFORMATION)), IntPtr.Zero) == 0)
                                    {
                                        int tlsoffset = m_Memory.ReadInteger((int)tbi.TebBaseAddress + 0x2C);
                                        int targetslot = m_Memory.ReadInteger(tlsoffset + (slot * 4));
                                        WowObjectBasePointer = m_Memory.ReadInteger(targetslot + 8);
                                        long MyGUID = m_Memory.ReadLong(targetslot + 16);
                                        string status_string = "Base pointer found: " + WowObjectBasePointer.ToString("X") + "n";
                                        status_string += "GUID of player:     " + MyGUID.ToString("X") + "n";
                                        CloseHandle(threadhandle);
                                        found = true;
    
                                        label1.Text = status_string;
                                        
                                    }
                                }
                            }
                            info.dwSize = (uint)System.Runtime.InteropServices.Marshal.SizeOf(typeof(THREADENTRY32));
                            morethreads = Thread32Next(snaphandle, ref info);
                        }
                    }
                    CloseHandle(snaphandle);
                    
                }
                return WowObjectBasePointer;
    Last edited by Nesox; 08-14-2008 at 12:33 PM.

    Tls 2.4.3 C# does this look resonable?
  2. #2
    kynox's Avatar Account not activated by Email
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I for one, no longer use the TLS to read the s_curMgr pointer, as i found an easier method.

    Simply read from [ [0x00D43318] + 0x2218 ] and you have your pointer!

  3. #3
    Sychotix's Avatar Moderator Authenticator enabled
    Reputation
    1421
    Join Date
    Apr 2006
    Posts
    3,942
    Thanks G/R
    285/572
    Trade Feedback
    1 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    you converted to my methods! =P TLS = noobzor =D

  4. #4
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sychotix View Post
    you converted to my methods! =P TLS = noobzor =D

  5. #5
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Apoc View Post

    Win picture. Saved.

  7. #7
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hehe, ok im looking at the Journal and his sample code, ExternalFindPattern but after you get the s_CurMgr Pointer according to Shynd's sample code i got s_CurMgr to be 0x0173C708 so if u read from that that's the adress to the s_CurMgr right? then what? sry for maybe a stupid question but im not rly good at reversing altho im a bit into Lena's reversing for noobies! =)

Similar Threads

  1. [QUESTION]Does this MeshTile look correct?
    By -Ryuk- in forum WoW Memory Editing
    Replies: 0
    Last Post: 04-09-2012, 03:08 PM
  2. Does this look plagerized?
    By robzombie132 in forum Community Chat
    Replies: 3
    Last Post: 01-31-2012, 09:16 PM
  3. [Lua Script] revised version how does this lua look
    By towaly in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 08-06-2010, 01:46 PM
  4. Does this look wrong to you?
    By [Revelation] in forum Community Chat
    Replies: 16
    Last Post: 02-23-2009, 05:32 PM
  5. Does anyone know how to do this?! Look!
    By tyguy22894 in forum World of Warcraft General
    Replies: 11
    Last Post: 06-09-2007, 06:39 PM
All times are GMT -5. The time now is 02: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