reidjako Posted October 1, 2016 Share Posted October 1, 2016 (edited) Hey guys, So I have been looking around for a while, and I was wondering if I could read process memory (rpm) and write process memory (wpm) from my webserver to the client. Say I had a c++ 32 bit application and I wanted to read memory of the application and change it, is it possible to do this? Ideally it would be a server side language, also I had a look and the basic consensus is no, however is it possible to do something similar to mouse_event in php, js or another web server language. Sorry I am new! Thanks guys! I found this string shmop_read ( int $shmid , int $start , int $count ) which is reading a shared memory block. What is a shared memory block? Thanks! Edited October 1, 2016 by reidjako Quote Link to comment https://forums.phpfreaks.com/topic/302263-read-process-memory-php/ Share on other sites More sharing options...
requinix Posted October 1, 2016 Share Posted October 1, 2016 No. Such a thing would be a huge security risk for an operating system to allow. In fact they tend to go to great lengths to make sure that's not possible. Quote Link to comment https://forums.phpfreaks.com/topic/302263-read-process-memory-php/#findComment-1537936 Share on other sites More sharing options...
reidjako Posted October 1, 2016 Author Share Posted October 1, 2016 Would it be possible if I installed a plugin to chrome or something along those lines to allow it or should I just stop bothering? Secondly is there a way for me to do something similar to mouse_event from a web server? Quote Link to comment https://forums.phpfreaks.com/topic/302263-read-process-memory-php/#findComment-1537937 Share on other sites More sharing options...
requinix Posted October 1, 2016 Share Posted October 1, 2016 I can't imagine that a browser extension framework would provide access to the sorts of things you need. They're just not meant to do that. So that means installing a program (as in a real software application) on the client that would allow your server to make remote connections and control the client. Which is a horrible idea. So... no. Not possible. As for shared memory, that's something completely different and not the least bit applicable to your situation. Quote Link to comment https://forums.phpfreaks.com/topic/302263-read-process-memory-php/#findComment-1537938 Share on other sites More sharing options...
Jacques1 Posted October 2, 2016 Share Posted October 2, 2016 It would help a lot if you told us what you want to do rather than how you think it should be done, because clearly your current approach is horribly misguided. So you want to react to mouse events. And then what? Do you understand that JavaScript can handle mouse events and communicate with the server through techniques like Ajax? Quote Link to comment https://forums.phpfreaks.com/topic/302263-read-process-memory-php/#findComment-1537965 Share on other sites More sharing options...
ginerjm Posted October 2, 2016 Share Posted October 2, 2016 (edited) And besides - you want to look at blocks of memory - in the raw. Where is your map? How will you read it/interpret it? Edited October 2, 2016 by ginerjm Quote Link to comment https://forums.phpfreaks.com/topic/302263-read-process-memory-php/#findComment-1537974 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.