Skip to content

A tool for extracting information from Windows Shortcut Files.

License

Notifications You must be signed in to change notification settings

exponential-decay/shortcuts

Repository files navigation

shortcuts

A tool for extracting information from Windows Shortcut Files. Implemented in Golang.

Standing On The Shoulder Of Giants

There's a whole host of information out there about this. I simply wanted a library I could work with in some of my more recent code.

Here are some links you may find useful.

Microsoft Shell Format

It is undocumented, but a good project i discovered reverse engineering it is: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762540(v=vs.85).aspx

For C developers, this library looks invaluable.

License

GPLv3


NOTES ON STRUCTURES

Placing these here until we have better understanding.

These structures seem to fall under two names:

  • MS Shell Data-Source
  • MS Shell Bag

0x31 Type Structures:

  ITEM SIZE:        ## ##
  TYPE:             31 00
  SIZE:             00 00 00 00
  DATETIME:         0C 49 0E 0A 
  SIZE:             10 00 
  8BIT NAME:        53 6F 75 72 63 65 00 00 
  EXTSIZE:          3A 00 
  VERSION:          08 00 
  SIGNATURE:        04 00 EF BE 
  DATE1:            2D 47 3B B2 
  DATE2:            0C 49 0E 0A 
  IDENTIFIER:       2A 00 
  UNKNOWN:          00 00 
  MFTENTRY:         9D AA 02 00 
  MFTSEQ:           00 00 22 00 
  UTF16 STRING:     00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 00 6F 00 75 00 72 00 63 00 65 00 00 00 16 00


  ITEM SIZE:        ## ##
  ITEM TYPE:        31 00
  SIZE:             00 00 00 00 
  DATETIME:         09 49 0a 0d 
  SIZE:             10 00 
  8BIT NAME:        67 69 74 68 75 62 2e 63 6f 6d 00 00 
  EXTSIZE:          42 00 
  VERSION:          08 00 
  SIGNATURE:        04 00 ef be 
  DATE1:            14 47 53 39 
  DATE2:            09 49 0a 0d 
  IDENTIFIER:       2a 00 
  UNKNOWN:          00 00 
  MFTENTRY:         63 77 02 00 
  MFTSEQ:           00 00 03 00 
  UTF16 STRING:     00 00 00 00 00 00 00 00 00 00 00 00 00 00 67 00 69 00 74 00 68 00 75 00 62 00 2e 00 63 00 6f 00 6d 00 00 00 1a 00

  ITEM SIZE:        ## ##
  ITEM TYPE:        31 00 
  SIZE:             00 00 00 00 
  DATETIME:         19 49 d6 0e 
  SIZE:             10 00 
  8-BIT NAME:       53 48 4f 52 54 43 7e 31 00 00
  EXTSIZE:          40 00 
  VERSION:          08 00 
  SIGNATURE:        04 00 ef be 
  DATE1:            17 49 ca 31 
  DATE2:            19 49 d6 0e 
  IDENTIFIER:       2a 00 
  UNKNOWN:          00 00 
  MFTENTRY:         ae 7c 01 00 
  MFTSEQ:           00 00 84 05 
  UTF16 STRING:     00 00 00 00 00 00 00 00 00 00 00 00 00 00 73 00 68 00 6f 00 72 00 74 00 63 00 75 00 74 00 7a 00 00 00 18 00

  ITEM SIZE:        ## ##
  ITEM TYPE:        32 00 
  SIZE:             f7 02 00 00 
  DATETIME:         17 49 7d 30 
  SIZE:             20 00 
  8-BIT NAME:       73 74 72 75 63 74 73 2e 67 6f 00 00 
  EXTSIZE:          42 00 
  VERSION:          08 00 
  SIGNATURE:        04 00 ef be 
  DATE1:            17 49 d1 31 
  DATE2:            17 49 d1 31
  IDENTIFIER:       2a 00 
  UNKNOWN:          00 00 
  MFTENTRY:         29 40 01 00 
  MFTSEQ:           00 00 90 02
  UTF16 STRING:     00 00 00 00 00 00 00 00 00 00 00 00 00 00 73 00 74 00 72 00 75 00 63 00 74 00 73 00 2e 00 67 00 6f 00 00 00 1a 00

About

A tool for extracting information from Windows Shortcut Files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages