[Help Request] Mac OS X menu

User Tag List

Results 1 to 9 of 9
  1. #1
    shalzuth's Avatar Active Member Authenticator enabled
    Reputation
    21
    Join Date
    Oct 2007
    Posts
    20
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    [Help Request] Mac OS X

    So, I just transferred to Mac OS X a couple days ago. But I don't know how to read/write to the memory. FML. Any help here, or do I need to do my stuff from scratch?


    P.S., I have made successful programs for WC3 and WoW alike with protection, so I'm not going in blindly.

    Thanks.

    [Help Request] Mac OS X
  2. #2
    BoogieManTM's Avatar Active Member
    Reputation
    52
    Join Date
    May 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Might want to check out PocketGnome pocketgnome - Project Hosting on Google Code - it's an open source bot for OSX. I'm sure it's got all the memory read/write stuff you need.

    More specifically, check out task_for_pid, also ptrace() might have limited functionality for reading memory at least.

  3. #3
    enteleky's Avatar Member
    Reputation
    3
    Join Date
    May 2008
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    task_for_pid()
    vm_read_overwrite()

    Using those two things allows you to read all the memory you want. Remember you need to be root or be a part of the procmod group if you want those to work.

  4. #4
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check out the MemoryAccess file. Or the findObjectList within Controller.m (this has the vm_region and other functions that actually pulls data from memory).

    Also, of course, your program has to run as root or you will never get data :-)

  5. #5
    flukes1's Avatar Member
    Reputation
    6
    Join Date
    Aug 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'll need these:

    vm_read_overwrite
    vm_write
    vm_region

    You also need to use task_for_pid in mach_traps.h which gives you a "port" for the given PID, but you need to be root or add your account to the procmod group, as others have said.

    There's an app called iHaxGamez which is good for scanning memory for ints and strings. Beyond that you're probably better off writing your own basic memory viewer, or use the one in Pocket Gnome (although it is rather limited). IDA can also be hooked up to OS X and works rather well, although you do need to run the GUI in a Windows virtual machine. The command line tool vmmap is also useful.

    If you want a starting point for accessing the object list on OS X, have a look at this thread.

  6. #6
    Tanaris4's Avatar Contributor Authenticator enabled
    Reputation
    148
    Join Date
    Oct 2008
    Posts
    646
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flukes1 View Post
    You'll need these:

    vm_read_overwrite
    vm_write
    vm_region

    You also need to use task_for_pid in mach_traps.h which gives you a "port" for the given PID, but you need to be root or add your account to the procmod group, as others have said.

    There's an app called iHaxGamez which is good for scanning memory for ints and strings. Beyond that you're probably better off writing your own basic memory viewer, or use the one in Pocket Gnome (although it is rather limited). IDA can also be hooked up to OS X and works rather well, although you do need to run the GUI in a Windows virtual machine. The command line tool vmmap is also useful.

    If you want a starting point for accessing the object list on OS X, have a look at this thread.
    Are you saying IDA can hook into WoW while it's running? Or just read the binary?

  7. #7
    flukes1's Avatar Member
    Reputation
    6
    Join Date
    Aug 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Tanaris4 View Post
    Are you saying IDA can hook into WoW while it's running? Or just read the binary?
    It can attach to WoW. In a terminal window, cd into the IDA directory and run
    Code:
    sudo ./mac_server
    Then fire up VMware or Parallels or whatever (or a real Windows box on your LAN) and start IDA. Go to Debugger > Attach > Remote Mac OS X debugger. Enter the IP and press OK, select the WoW process and it'll attach as if it were running locally.

  8. #8
    pqs's Avatar Contributor
    Reputation
    226
    Join Date
    Jan 2009
    Posts
    526
    Thanks G/R
    10/12
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    POCKET GNOME FTW! All you will ever need :P

  9. #9
    Bobnovak's Avatar Member
    Reputation
    3
    Join Date
    Jun 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great thread guys, just bumping this for others who have made the switch to mac. I did some C# stuff like a year or two ago for WoW - checking the memory editing on the MacOS side now.

Similar Threads

  1. [Help/request/crazy] Look inside please.
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 01-01-2008, 07:26 PM
  2. [help/request] I need trainers for 2.3 lol
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 12-28-2007, 12:39 PM
  3. Getting A Friend Connected (Help Request)
    By Magnusvermis in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 12-07-2007, 11:57 PM
  4. Help Request
    By sirios in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 10-14-2007, 12:47 PM
  5. Request Mac Editing Guide in placing the file, and Gnome Male ---> Undead Male
    By Bourbonkills in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-21-2007, 02:05 AM
All times are GMT -5. The time now is 10:26 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search