How to extract Icons from Windows executeables in Linux

From this page :, 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

--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



Popular posts from this blog

Fedora 19 with kernel 3.10 fail to install vmplayer module.

Setup mail server with ldap authentication in docker

How to allow non root user to execute hping command ?