Advertisement
metalx1000

Extracting resource files from Binary files

Dec 3rd, 2017
845
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. #Extracting resource files from Binary files - executables
  2. sudo aptitude install icoutils
  3. mkdir output
  4.  
  5. #list all resources in file
  6. wrestool -l file.exe
  7.  
  8. #Extract icons
  9. wrestool -x -t 14 file.exe -o output
  10.  
  11. #Extract Bitmaps
  12. wrestool -x -t 2 file.exe -o output
  13.  
  14. #extract Cursors
  15. wrestool -x -t 12 file.exe -o output
  16.  
  17. #extract strings
  18. #this is different then using 'strings'
  19. #the output can be displayed using 'cat'
  20. #but 'strings' and 'vim' are a no go
  21. wrestool -x --raw -t 6 file.exe -o output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement