Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct { FillAttributes []string `json:"fillAttributes,omitempty"` PopupFillAttributes []string `json:"popupFillAttributes,omitempty"` ScreenBufferSizeX uint16 `json:"screenBufferSizeX"` ScreenBufferSizeY uint16 `json:"screenBufferSizeY"` WindowSizeX uint16 `json:"windowSizeX"` WindowSizeY uint16 `json:"windowSizeY"` WindowOriginX uint16 `json:"windowOriginX"` WindowOriginY uint16 `json:"windowOriginY"` FontSize uint32 `json:"fontSize"` FontFamily string `json:"fontFamily,omitempty"` FontWeight uint32 `json:"fontWeight"` FaceName string `json:"faceName,omitempty"` CursorSize uint32 `json:"cursorSize"` FullScreen bool `json:"fullScreen"` QuickEdit bool `json:"quickEdit"` InsertMode bool `json:"insertMode"` AutoPosition bool `json:"autoPosition"` HistoryBufferSize uint32 `json:"historyBufferSize"` NumberOfHistoryBuffers uint32 `json:"numberOfHistoryBuffers"` HistoryNoDup bool `json:"historyNoDup"` ColorTable []string `json:"colorTable"` }
Console contains LNK extra console data block info
type ConsoleFE ¶
type ConsoleFE struct {
CodePage string `json:"codePage"`
}
ConsoleFE contains LNK extra console data block info
type Environment ¶
Environment contains LNK extra environment data block info
type Extra ¶
type Extra struct { // https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/c41e062d-f764-4f13-bd4f-ea812ab9a4d1 Console *Console `json:"console,omitempty"` ConsoleFE *ConsoleFE `json:"consoleFE,omitempty"` Darwin *Darwin `json:"darwin,omitempty"` Environment *Environment `json:"environment,omitempty"` IconEnvironment *IconEnvironment `json:"iconEnvironment,omitempty"` KnownFolder *KnownFolder `json:"knownFolder,omitempty"` PropertyStore *PropertyStore `json:"propertyStore,omitempty"` Shim *Shim `json:"shim,omitempty"` SpecialFolder *SpecialFolder `json:"specialFolder,omitempty"` Tracker *Tracker `json:"tracker,omitempty"` VistaAndAboveIDList *VistaAndAboveIDList `json:"vistaAndAboveIdList,omitempty"` }
Extra contains LNK extra block info
type Header ¶
type Header struct { GUID string `json:"guid"` LinkFlags []string `json:"linkFlags"` FileFlags []string `json:"fileFlags"` CreationTime *time.Time `json:"creationTime,omitempty"` AccessedTime *time.Time `json:"accessedTime,omitempty"` ModfiedTime *time.Time `json:"modifiedTime,omitempty"` FileSize uint32 `json:"fileSize,omitempty"` IconIndex uint32 `json:"iconIndex"` WindowStyle string `json:"windowStyle"` HotKey string `json:"hotKey,omitempty"` // contains filtered or unexported fields }
Header contains LNK header info
type IconEnvironment ¶
IconEnvironment contains LNK extra icon environment data block info
type Info ¶
type Info struct { Header *Header `json:"header"` Targets []Target `json:"targets,omitempty"` Location *Location `json:"location,omitempty"` Name string `json:"name,omitempty"` RelativePath string `json:"relativePath,omitempty"` WorkingDirectory string `json:"workingDirectory,omitempty"` CommandLine string `json:"commandLine,omitempty"` IconLocation string `json:"iconLocation,omitempty"` Extra *Extra `json:"extra,omitempty"` }
Info contains high level fingerprinting an analysis of an LNK file.
type KnownFolder ¶
KnownFolder contains LNK extra known folder data block info
type Location ¶
type Location struct { // https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-shllink/6813269d-0cc8-4be2-933f-e96e8e3412dc // https://github.com/libyal/liblnk/blob/master/documentation/Windows%20Shortcut%20File%20(LNK)%20format.asciidoc#4-location-information Flags []string `json:"flags"` CommonPathSuffix string `json:"commonPathSuffix,omitempty"` // Location information data Volume *Volume `json:"volume,omitempty"` LocalBasePath string `json:"localBasePath,omitempty"` NetworkShare *NetworkShare `json:"networkShare,omitempty"` }
Location contains LNK location info
type NetworkShare ¶
type NetworkShare struct { // https://github.com/libyal/liblnk/blob/master/documentation/Windows%20Shortcut%20File%20(LNK)%20format.asciidoc#43-network-share-information }
NetworkShare contains LNK location network share info
type Property ¶
type Property struct { Name string `json:"name"` Type string `json:"type"` Value interface{} `json:"value"` }
Property contains property storage propery info
type PropertyStore ¶
type PropertyStore struct { // https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-propstore/3453fb82-0e4f-4c2c-bc04-64b4bd2c51ec Properties []Property `json:"properties,omitempty"` }
PropertyStore contains LNK extra property store data block info
type Shim ¶
type Shim struct {
LayerName string `json:"layerName,omitempty"`
}
Shim contains LNK extra shim data block info
type SpecialFolder ¶
SpecialFolder contains LNK extra special folder data block info
type Target ¶
type Target struct { Name string `json:"name,omitempty"` Size uint16 `json:"size"` TypeID uint8 `json:"typeId"` SHA256 string `json:"sha256"` }
Target contains LNK target info
type Tracker ¶
type Tracker struct { Version uint32 `json:"version"` MachineID string `json:"machineId"` Droid []string `json:"droid,omitempty"` DroidBirth []string `json:"droidBirth,omitempty"` }
Tracker contains LNK extra tracker data block info
type VistaAndAboveIDList ¶
type VistaAndAboveIDList struct {
Targets []Target `json:"targets,omitempty"`
}
VistaAndAboveIDList contains LNK extra vista and above id list data block info
type Volume ¶
type Volume struct { // https://github.com/libyal/liblnk/blob/master/documentation/Windows%20Shortcut%20File%20(LNK)%20format.asciidoc#42-volume-information DriveType string `json:"driveType,omitempty"` DriveSerialNumber string `json:"driveSerialNumber,omitempty"` VolumeLabel string `json:"volumeLabel,omitempty"` }
Volume contains LNK location volume info
Source Files ¶
- extra.go
- extra_console.go
- extra_console_fe.go
- extra_darwin_block.go
- extra_environment.go
- extra_icon_environment.go
- extra_known_folder.go
- extra_property_store.go
- extra_shim.go
- extra_special_folder.go
- extra_tracker.go
- extra_vista_and_above_id_list.go
- header.go
- known_properties.go
- known_shellbag_guids.go
- known_targets.go
- lnk.go
- location.go
- strings.go
- target.go