Since no one else has responded, I'll try. First, I use linux, so I may be offbase when it comes to windows memory management.

First you should clarify what your ultimate goal is. Your requirement to monitor certain memory addresses for certain text is vague. Are you talking about within a single process, or one process watching another, or an absolute address in system RAM? Modern OS's use relative addressing ro run executables, so it is very unlikely you will find a program storing a variable at an absolute memory address.

Second, there are many docs for Perl, just check out the tutorials section, and the perldocs. If you need an introduction to Perl, read some books. If you find that Python /Ruby has better documentation (which makes sense to you), then use those languages. Also, most of these scripting languages were developed with unix/linux type systems in mind, so if you are stuck on win32, you will find yourself at a slight disadvantage.

Third, by your description of the problem "need to match text at a memory location" hints of an easy solution, for a problem which you havn't well formulated. Can you state what the ultimate problem is..... are you trying to hack passwords stored in binary files? :-)

On linux anyways, you can read an image of the ram contents by using the dd utility to read /dev/ram (requires root priviledges). Google and groups.google can be searched for examples. You can find text strings in a binary with the "strings" utility.


I'm not really a human, but I play one on earth. Cogito ergo sum a bum

In reply to Re: Running in circles trying to find helpful documentation (Win32::process::memory) by zentara
in thread Running in circles trying to find helpful documentation (Win32::process::memory) by lou.cal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.