开发者

Is it possible to read the entire memory of a PHP-process?

开发者 https://www.devze.com 2023-03-20 05:25 出处:网络
How can I access directly from PHP the raw memory and/or the symbol table? The reason why I would like to do that is b/c then I could search the memory/table for strings to find out about where certa

How can I access directly from PHP the raw memory and/or the symbol table?

The reason why I would like to do that is b/c then I could search the memory/table for strings to find out about where certain process have been triggered and strings are loaded.

I guess I could use Reflection, but that would be more complicated I think, cause the information is structured an开发者_StackOverflowd I would have to parse the entities instead of just using a RegEx.


How can I access directly from PHP the raw memory and/or the symbol table?

In short: Not possible.

I guess I could use Reflection, but that would be more complicated I think, cause the information is structured and I would have to parse the entities instead of just using a RegEx.

That is, by the way, more reliable than regular expressions.

0

精彩评论

暂无评论...
验证码 换一张
取 消