Thread: Memory Editor

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    brhvitor6's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    57
    My Mood
    Amazed

    Memory Editor

    Hey guys i'm new in the forum and i like to share one of my works (this is used to off-line games)


    Downloads

    First you'll need the Visual Studio 2010 (or 2008)
    And my DLL (with the functions): At the end of post | Scan
    And the CE 6.1 by DarkByte Download

    Creating the project

    After download the VS create a new Windows Forms Application.


    Click in Save All... (or Ctrl + Shift + S), Press OK, Go to Documents > Visual Studio 2010 > Project > *Name of your poject* > *Name of your poject* > Bin > Debug And plaste the DLL here

    Now lets import the DLL go to: Project > Add Reference...


    Now Click in Browse then go to your Project folder > Bin > Debug and Double-Click in DLL


    Start the programming

    Double-Click in your Form, now import let's put the DLL in the project:


    Now we go to create the function of DLL


    Code:
    Memorys mem = new Memorys("Your process");
    Pointers, Address and CE

    First find the address who contains the value of your need, Right click on it and Click on Pointer Scan for this Address


    Now click in OK, Choose one local to save the table of Pointers

    Selelect one of the list (Double-Click), and close the Pointer Scanner


    If you click on the address in your address list you'll se the address's and the offset's of the Adress.


    (Take a picture of this "table" or just let the CE open to the next step)

    Modules, Pointer Calcule and Final Address

    Back to the VS, now we can bring this informations to ouer trainer.

    Frist on Form1 Load we will make the address calcule.

    If you look very (very) closer will see that one of the values are a text and not a Hex, that's because it's a module and a module has a Base Address
    (in my case "minesweeper.exe" + 000824AC)

    To calcule this base address we will use the first function of my DLL

    Code:
    uint base_address = mem.baseaddress("minesweeper.exe");
    (uint its the variable type, base_address it's the name of variable , mem.baseaddress it's the function and minesweeper.exe it's the name of module)

    But in the CE it's "minesweeper.exe" + 000824AC, well now we need to add this value to the base_address, like this:


    Don't forget of the 0x before the value.

    Now we got the base address of the module, now we will set the offset's

    When we found the pointer did you noticed of a second colun who contais small numbers?


    Put their in order like in my code:


    Another pic to help you


    Code:
        uint base_address = mem.baseaddress("minesweeper.exe");
        base_address = base_address + 0x000824AC;
        uint address = (uint)mem.ReadPointer(base_address) + 0x6a4;
        address = (uint)mem.ReadPointer(address) + 0x4b4;
        address = (uint)mem.ReadPointer(address) + 0x98;
        address = (uint)mem.ReadPointer(address) + 0x94;
        address = (uint)mem.ReadPointer(address) + 0x4;
    You can see if you calc is correct whth:
    Code:
    MessageBox.Show(address.ToString("x"));
    The X transforms to Hex, now just compare to the CE

    Writing and Reading the Address

    To Write:
    Code:
    mem.Write(address, 10);
    The "10" it's the new value (just int)

    To Read:
    Code:
    mem.ReadPointer(address);
    Retrun int but you can use:
    Code:
    mem.ReadPointer(address).ToString();
    To write in a label or wathaver

    And to read a string:
    Code:
    mem.ReadString(address).ToString();
    That's all guys i hope you like and help whith your's hack's.

    Credits: brhvitor6
    <b>Downloadable Files</b> Downloadable Files
    Last edited by brhvitor6; 04-06-2012 at 01:30 PM.

  2. The Following 41 Users Say Thank You to brhvitor6 For This Useful Post:

    321abc (10-13-2012),archimede77 (06-07-2016),BOSSRHEX (09-07-2012),Capt_84 (04-17-2014),dafsaddasd (08-15-2014),DeadlySilent (12-19-2014),ExisTens3 (11-22-2019),frodomdv (11-03-2012),giniyat101 (11-04-2012),graceda (11-14-2012),green100 (01-21-2014),jammie9090 (01-01-2019),Jhem (11-07-2012),jhordano (01-18-2015),justTrying2 (08-31-2012),KarmaPolice (11-04-2012),Kenshin13 (09-01-2012),MarkHC (05-09-2012),minelove (01-12-2013),mwxplayer (01-07-2013),nazimazillah (02-15-2013),netinhobrack (08-12-2012),peq (03-13-2013),reklamlar45453 (08-19-2012),rileyjstrickland (10-27-2012),roiD (10-21-2012),ShinyPixel (01-13-2017),SirShrooms (07-29-2021),sliptop (11-28-2012),stab2009 (08-31-2012),stevemk14ebr (12-11-2012),tetratec (08-01-2014),TheMaTriX (05-31-2012),ThePotato2213 (12-27-2015),timiostimio (08-07-2012),ToKKan (08-04-2012),toxa1373 (01-19-2018),univex (09-29-2012),unpackeddd (10-28-2012),xXFleshpoundXx (12-31-2012),yo1508 (06-21-2013)

  3. #2
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Zip and upload the DLL to MPGH by editing your post. Then add a virus scan of the zip and append to your post.

    Edit: Since this is in C#, I will check your DLL for malicious code. Be sure you do not obfuscate (protect) it.
    Last edited by Hassan; 04-06-2012 at 01:20 PM.

  4. #3
    brhvitor6's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    57
    My Mood
    Amazed
    Ok, the DLL it'snot protected.. Now i'll upload the dll on mpgh
    Edit---
    Ready
    Last edited by brhvitor6; 04-06-2012 at 01:31 PM.

  5. #4
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by brhvitor6 View Post
    Ok, the DLL it'snot protected.. Now i'll upload the dll on mpgh
    Edit---
    Ready
    Alright. Approved !

    GJ !

  6. #5
    Paul's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    6,296
    Reputation
    473
    Thanks
    1,061
    My Mood
    Sleepy
    @Hassan if this is C#, shouldn't this be in C# Programming - MPGH - MultiPlayer Game Hacking ? just wondering..


  7. #6
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    Because C# section is dead as fuck and noone actually visits it. We've allowed C# releases in here before.
    Ah we-a blaze the fyah, make it bun dem!

  8. The Following User Says Thank You to Hell_Demon For This Useful Post:

    Hassan (04-12-2012)

  9. #7
    JustTrollin's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    Behind a Computer
    Posts
    47
    Reputation
    10
    Thanks
    34
    My Mood
    Bored
    Quote Originally Posted by Hell_Demon View Post
    Because C# section is dead as fuck and noone actually visits it. We've allowed C# releases in here before.
    Thank you for explaining that.
    Languages that I know:
    Advanced Lua
    Intermediate C++
    Intermediate C#
    Intermediate PHP (Includes HTML/JS/CSS)

    Projects:

    Personal Website [1% Done] - Do EVERYTHING
    Thinking of other project ideas...

    Important Dates:
    11/6/11 - Joined MPGH
    4/11/12 - Returned to
    MPGH

  10. #8
    cabalsync's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Question freeze memory value

    I tried to do a loop with the function "mem.write", but the application hangs and stays "not responding"

    private void checkBox1_CheckedChanged(object sender, EventArgs e)
    {
    uint base_address = mem.baseaddress("process.exe");
    base_address = base_address + 0x00125150;
    uint address = (uint)mem.ReadPointer(base_address) + 0x74;
    while (checkBox1.Checked == true)
    {
    mem.Write(address, 1);
    }
    }

    this loop to work as freeze value in the address

    u help me?
    Last edited by cabalsync; 05-02-2012 at 11:07 PM.

  11. #9
    Broderick's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Basement.
    Posts
    100
    Reputation
    42
    Thanks
    30
    Quote Originally Posted by cabalsync View Post
    I tried to do a loop with the function "mem.write", but the application hangs and stays "not responding"

    private void checkBox1_CheckedChanged(object sender, EventArgs e)
    {
    uint base_address = mem.baseaddress("process.exe");
    base_address = base_address + 0x00125150;
    uint address = (uint)mem.ReadPointer(base_address) + 0x74;
    while (checkBox1.Checked == true)
    {
    mem.Write(address, 1);
    }
    }

    this loop to work as freeze value in the address

    u help me?
    You've just consumed all the thread resources by putting that code in an infinite loop. The application cannot update or respond because its thread is currently stuck repeating your "freeze". You have a few options here, either put your freeze code in a BackgroundWorker (or another thread), or assign it to a timer. Never use large-volume while-loops in your main application's thread, it will lock the application up until it finishes the loop. Seeing as the application is now locked, you can never toggle the checkbox, essentially making this an infinite loop.
    The fish trap exists because of the fish.
    Once you've gotten the fish you can forget the trap.
    The rabbit snare exists because of the rabbit.
    Once you've gotten the rabbit, you can forget the snare.
    Words exist because of meaning.
    Once you've gotten the meaning, you can forget the words.
    Where can I find a man who has forgotten words so I can talk with him?

  12. The Following 2 Users Say Thank You to Broderick For This Useful Post:

    'Bruno (05-03-2012),Hassan (05-03-2012)

  13. #10
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    In another words, your application is not drawing the user interface nor checking the controls, etc... (Its stuck there)
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  14. The Following User Says Thank You to 'Bruno For This Useful Post:

    Hassan (05-03-2012)

  15. #11
    pDevice's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    d3d9.h
    Posts
    1,306
    Reputation
    15
    Thanks
    420
    My Mood
    Stressed
    good job
    Last edited by Hassan; 05-05-2012 at 07:30 AM.



  16. #12
    stevonator's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    83
    Reputation
    10
    Thanks
    144
    My Mood
    Stressed
    EDIT: nvm, i was wrong so nvm this post

    good job dude, thx a lot

    EDIT 2
    if i do MessageBox.Show(mem.ReadString(address).ToString() );
    it just gives an empty messagebox, and if i do the readpointer i do get the right value...

    EDIT 3
    always if i do with ce, i get the same pointer, and if i do with c# the MessageBox.Show(address.ToString("x"));
    isn't the same ?
    here's what i've got: ce gives 08AA6D50 and c# gives 08AA6DA6
    Last edited by stevonator; 08-07-2012 at 09:03 AM.

  17. #13
    univex's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    284
    Reputation
    30
    Thanks
    1,952
    My Mood
    Busy
    Its great library, thanks alot!

  18. #14
    I love myself
    나도 너를 사랑해

    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    167,646,447
    Posts
    5,150
    Reputation
    1220
    Thanks
    7,393
    My Mood
    Stressed
    W0w! THis IS Very Good Job!

  19. #15
    brhvitor6's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    57
    My Mood
    Amazed
    thx guys.. i'm working on the second version

Page 1 of 2 12 LastLast

Similar Threads

  1. [Help] Undetect memory editor but hav virus
    By epan96 in forum Mission Against Terror Discussions
    Replies: 0
    Last Post: 10-30-2012, 09:48 AM
  2. [Release] Extreme Memory Editor v2
    By master131 in forum Visual Basic Programming
    Replies: 9
    Last Post: 09-08-2011, 05:55 AM
  3. [Release] Extreme Memory Editor
    By master131 in forum Visual Basic Programming
    Replies: 41
    Last Post: 05-27-2011, 03:02 PM
  4. does anyone have a memory editor?
    By mastermods in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 12
    Last Post: 08-25-2010, 09:13 AM
  5. Memory editor?
    By Allexa2 in forum Combat Arms Hacks & Cheats
    Replies: 19
    Last Post: 12-11-2008, 09:35 PM