Hello,
for a check tool i will need to verify existency of a string in RAM.
This is due the fact that it is a programm which i don't have access to through Windows API.
If the string exists in the RAM, alll OK, else something is wrong.
With HxD i can search pattern in RAM and find the string.
I would like to do it through command line. Is that possible?
If not, any suggestions to other Windows command line tools are appreciated .
thanks
kind regards
Semura
================================================================================
Can i change my silly username afterwards?
================================================================================
Search string in RAM
Re: Search string in RAM
HxD does not support command line operations or scripting.
But you can use the Windows API, ReadProcessMemory http://msdn.microsoft.com/en-us/library ... 85%29.aspx
and use OpenProcess to access the right program.
There should be example code on the net.
@user name: not manually as far as I know, what user name do you want?
But you can use the Windows API, ReadProcessMemory http://msdn.microsoft.com/en-us/library ... 85%29.aspx
and use OpenProcess to access the right program.
There should be example code on the net.
@user name: not manually as far as I know, what user name do you want?
Re: Search string in RAM
Hello,
thanks for your reply and the link. Unfortunately I am not that familiar with C++ programming and also not at that level.
Maybe i will search for some code in VB .NET. Also i am not sure if it will be able to grab text within for Java
GUI objects where HxD is able to.
I am just searching a kind of "find" but for RAM where i can define the process and the search string to find
at commandline and returns me either the found adress or an errorlevel 0 or 1
Well, the username should be only semura. But thats not really important.
thanks and a good day!
Semura
thanks for your reply and the link. Unfortunately I am not that familiar with C++ programming and also not at that level.
Maybe i will search for some code in VB .NET. Also i am not sure if it will be able to grab text within for Java
GUI objects where HxD is able to.
I am just searching a kind of "find" but for RAM where i can define the process and the search string to find
at commandline and returns me either the found adress or an errorlevel 0 or 1
Well, the username should be only semura. But thats not really important.
thanks and a good day!
Semura
Re: Search string in RAM
I made a search but couldnt find anything that wouldn't require some knowledge in C++ or otherwise understanding some API functions. Just found other GUI based tools that won't help here.
You can ask on superuser.com or stackoverflow.com for a command-line based tool for searching process memory, or something similar.
You can ask on superuser.com or stackoverflow.com for a command-line based tool for searching process memory, or something similar.
Re: Search string in RAM
thank you, i try that.
Anyway, could be a nice feature in future HxD version
regards
Anyway, could be a nice feature in future HxD version
regards