Jump to content

Easy memory search.


daslick
 Share

Recommended Posts

#include <NomadMemory.au3>
Dim $hex[16] = [0,1,2,3,4,5,6,7,8,9,'A','B','C','D','E','F']
$HPROCESS = _MemoryOpen($ProPID)
For $a = 0 to 15 step 1 ;checking 0*##8E90
    For $b = 0 to 15 Step 1
        For $c = 0 to 15 step 1
            if _MemoryRead(0x&$hex[$a]&$hex[$b]&$hex[$c]&$hex[9]&$hex[13]&$hex[10]&$hex[0],$HPROCESS) = 503 then _MemoryWrite(0x&$hex[$a]&$hex[$b]&$hex[$c]&$hex[9]&$hex[13]&$hex[10]&$hex[0],$HPROCESS,1000)
        Next
    Next
Next

The code is trying to search all of 0x9###8E90 for 503, where #s are unknown values.

Any ideas?

Link to comment
Share on other sites

  • 2 years later...

Create a Func for 65000, other for 65000*2, changing variables to use, overflow is in 65535, more all variables changed to $variablenameq, $variable2q, variable3q... etc.

and...

create a auto-write script to the Func for 65000*3...using a GUI ctrl C, Ctrl V, MouseMove, etc, to complete all other lines of scripts, to complete all strings...

it is equal you script, but expanded... sry for my bad english, i'm don't speack this language very good...

Link to comment
Share on other sites

It depends. What usage will you have for it?

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...