get icon from .exe PHP

gaptrast

Member
Messages
123
Reaction score
0
Points
16
Hi, I do not think this is an easy task.

Is there any code who can get the icon from programs (exe) before downloading it??


Like:

Code:
<h1>Download is starting...</h1>

<img src="
<?php GETTHEICONFROM'files/kali.exe' ?>

" />


Any help accepted!
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
You'd need a PE format handler or data extraction tool. I'm not aware of any such for PHP. There certainly isn't anything in the core or standard extensions to handle it. If you don't have too many executables to process, you can do it by hand with one of the various resource editors rather than programmatically. Otherwise, you'll have to write your own.
 
Last edited:
Top