Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I need to read specific program memory address ( ReadProcessMemory c++ like) from a client desktop and retrive this to client browser for making some opération like simply print the result.

I need advicve , there is a best way to achieve this simply.

i have no restricton, ex: if i can achieve this from browser without any desktop app or browser extension it's ok but i doubt in that.
Posted
Updated 6-Jul-13 1:43am
v3
Comments
Richard MacCutchan 6-Jul-13 10:10am    
How do you know what address to read?
pasztorpisti 6-Jul-13 16:27pm    
You will need a binary browser extension to do that for sure. To create a hack like that javascript won't be enough. You will have to write the native code as a library and you have to use that library to create plugins for the most popular browsers (firefox, chrome, IE, ...). And of course you need the trust of the user who installs your plugin.
ekim0z 7-Jul-13 3:17am    
Can you tell me more about "binary browser extension" and "You will have to write the native code as a library and you have to use that library to create plugins" ?

I can write c++ lib to do this but with tools we can create a plugin and add my library to this plugin ?

I found that : FireBreath

It is a titanic task because every browser comes from different vendor and has a different API. If you dont beleive it now - you believe it some cumbersome days.

I wrote a simpel demo for Firefox:

A simple Firefox Addon with XP-COM Component[^]

And there is now another interface:

https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes/Using_js-ctypes?redirectlocale=en-US&redirectslug=js-ctypes%2FUsing_js-ctypes[^]

For the Internet Exploder you need some tricky stuff:

http://msdn.microsoft.com/en-us/library/bb250462.aspx#wpm_elebp[^]

Chrome:

https://developers.google.com/native-client/

Read this stuff carefully and try your luck the needed methods. You will need it.

After all: think about another solution because it is PAIN IN THE ASS.
 
Share this answer
 
A less-complicated option might be to write some desktop software to supply whatever information you need in the browser using an embedded web server interface. That way it should work in all browsers without having to create plugins for each one.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900