How to extract Icons from Windows executeables in Linux

From this page : http://jamesmcdonald.id.au/gnu-linux/how-to-extract-icons-from-windows-executeables-in-linux, I found a way to extract icon from the windows executable.

Install the icoutils package and using wrestool command.
wrestool -l eXeSMS.exe

You will see heaps of output but look for the line that identifies the icon
e.g.

--type=14 --name='MAINICON' --language=3081 [type=group_icon offset=0x15d6d8 size=20]

Once you have identified your icon you need extract it to a file

wrestool -x -n MAINICON eXeSMS.exe > myicon.ico




---

Comments

Popular posts from this blog

Setup mail server with ldap authentication in docker

How to allow non root user to execute hping command ?

Boot Acronis from PXE