I'm working on a project in PHP, and i need to get a list of all strings contained in a executable PE file, like some desktop programs do. Here is a screenshot of what i need that the file returns:
I can have the HEX dump of the file, and the strings are there, but i don't know how to extract them. Maybe with regex, idk...
I could make a program in C that return the strings to the PHP script, but i want to make it using PHP, because i'll upload the script to a host, and maybe i cannot use commandline or something like this.
Any tips about this?