Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 337

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 339

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 341

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 343
Basic memory reading

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    11

    Basic memory reading

    Hi, I want to start learning basic RE and using it to get, send and modify information from another program.

    I set my first task to read a value that another process generates from memory. So I created this "program" that will simply generate random number and I hoped that reading this number will be very easy.

    Well.. as it comes out I cant do it.
    I was hoping I can follow "Minesweeper, Behind the scene" tutorial, to accomplish what I want. But I simply cannot find the address the value is stored at. When I open the .exe in Olly it starts it right away, then giving me error that program needs to be closed. When I press "Restart program" it just starts it again and gives error. So I cannot follow the program step by step.

    So.. conclusion. I tried to read memory of one of the simplest "programs" I could think of (Which by the way looks like the following code) and I failed by myself. Now I'm looking for help/tips from you guys.

    This "Program" that generates random number simply looks like that:
    Code:
            static void Main()
            {
                int randnr;
                Random randNum = new Random();
                randnr = randNum.Next(1, 9999);
                Console.WriteLine("{0}", randnr);
                Console.Read();
            }

  2. #2
    Coders NightGhost's Avatar
    Join Date
    Apr 2006
    Posts
    658

    Re: Basic memory reading

    Search for a tutorial of "ReadProcessMemory":

Similar Threads

  1. [PHP Guide] Reading part of a string
    By sp00f in forum Html, Php, Xml, Css, ...
    Replies: 1
    Last Post: June 8th, 2010, 18:34
  2. Reading/Copying 7 bits or less from/to a register
    By johnnydaking in forum Tutorials
    Replies: 0
    Last Post: November 20th, 2008, 21:01
  3. [TUTORIAL]Visual Basic[BASIC]
    By FreckleS in forum Basics
    Replies: 0
    Last Post: October 5th, 2007, 03:37
  4. Pixel Reading or Detecting???
    By Zero in forum Basics
    Replies: 0
    Last Post: August 13th, 2007, 16:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •