Find the answer to your Linux question:
Results 1 to 7 of 7
Hiya All again, I am working on a Couple of Security Projects. and one of them involves Dumping the Random Access Memory (RAM) to a text file. So I can ...
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422

    Dump RAM?

    Hiya All again,

    I am working on a Couple of Security Projects.
    and one of them involves Dumping the Random Access Memory (RAM) to a text file. So I can analyse it.

    Though i have been looking for RAM Dump programs I cant find any.
    I know its possible. But I don't know how. I don't even have a clue.

    So, well can anyone help me with this please?
    Any ideas or Tips?

    Thanks,
    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    If there's nothing out there, maybe it's because it's a rather trivial program to write.

    How are your C skills?
    --
    Bill

    Old age and treachery will overcome youth and skill.

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    About Good ~ Rather Good.
    Lets say I know how C works and if I read a Documentation of a Library or a Source Code I can figure out how it works within a Week.
    But when I have no idea how to start or were to start I am Clueless.

    I know its a rather weird program to write. But it should be posible.. And I hope it can be done in C.

    Any Tips/Documents/Advices?

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  4. #4
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    google this:
    Code:
    C tutorial
    I like this one. Don't skim; slow down and read it thoroughly. Be sure you know how pointers and array work. Become familiar with the various data types (signed and unsigned character, integer, and so on).

    Then google these:
    Code:
    /dev/mem
    /dev/kmem
    to see how to access memory.

    Remember that much of what you want might not be in main memory, but might be swapped out. When you get to that point, you get to do much more research.
    --
    Bill

    Old age and treachery will overcome youth and skill.

  5. #5
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Quote Originally Posted by wje_lf View Post
    google this:
    Become familiar with the various data types (signed and unsigned character, integer, and so on).
    Ur Kidding Right, I already know C
    Ill read it though but I am already known with C, I write in it for Quite some while.

    And, Thanks for pointing out the /dev/mem I forgot about them Ill do reading about them

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  6. #6
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    Ur Kidding Right, I already know C
    Oops. My bad. Sorry. :)

    I had looked through some of your past posts to see whether you used C, and I guess I didn't look thoroughly enough.

    If you're thoroughly familiar with how pointers and arrays work, and with the differences between the various data types, I don't see a need to go through a C tutorial again.

    Good luck with the project!
    --
    Bill

    Old age and treachery will overcome youth and skill.

  7. #7
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    wje_lf, Well I know C I just have problems with C++ (Classes) and with MSVS (Microsoft Visual Studio) and with the MS Variable types. (a String that also is a Int Array if it only uses ints in there) ...

    Anyhow, I finally I got a Linux box again and thus I can code again propherly. ^^ Gentoo ftw I still have loads of problems with Linking and the Compilers but I always make a mate of my set that alright for me :P (Lame I need to work on it I know)

    But, thanks again.

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

Posting Permissions

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