Giter Site home page Giter Site logo

lnkparse-dotnet's Introduction

LnkParse-dotnet

Simple wrapper around the Lnk library for generating readable metadata of LNK file

Usage

LnkParse-dotnet 1.0.0+239c36599c85f6dc8dc8aa02e645d818ed84bfdb
Copyright (C) 2023 LnkParse-dotnet

  -i, --input     Required. The target to be parsed.

  -o, --output    Output JSON file path.

  --help          Display this help screen.

  --version       Display version information.

Sample output

{
  "TargetIDs": [
    {
      "FriendlyName": "Root folder: GUID",
      "Value": "My Computer",
      "ExtensionBlocks": []
    },
    {
      "FriendlyName": "Drive letter",
      "Value": "D:",
      "ExtensionBlocks": []
    },
    {
      "FriendlyName": "Directory",
      "Value": "mega",
      "ExtensionBlocks": [
        {
          "Size": 58,
          "Version": 9,
          "Signature": 3203334148,
          "VersionOffset": 20
        }
      ]
    }
  ],
  "ExtraBlocks": [
    {},
    {},
    {}
  ],
  "SourceCreated": "2023-11-19T09:06:21.8469355+00:00",
  "SourceModified": "2023-11-19T09:06:21.8474355+00:00",
  "SourceAccessed": "2023-11-20T03:26:06.0131878+00:00",
  "CommonPath": "",
  "LocalPath": "D:\\mega",
  "VolumeInfo": {
    "DriveType": 3,
    "Size": 24,
    "VolumeSerialNumber": "2F076E60",
    "VolumeLabelOffset": 16,
    "VolumeLabel": "General"
  },
  "NetworkShareInfo": null,
  "SourceFile": "C:\\Target.lnk",
  "RawBytes": "[truncated]",
  "Header": {
    "Signature": "00021401-0000-0000-c000-000000000046",
    "DataFlags": 16583,
    "FileAttributes": 17,
    "TargetCreationDate": "2023-11-19T09:06:15.716571+00:00",
    "TargetModificationDate": "2023-11-19T09:06:21.8449355+00:00",
    "TargetLastAccessedDate": "2023-11-19T09:06:21.8459362+00:00",
    "FileSize": 4096,
    "IconIndex": 0,
    "HotKey": "",
    "ShowWindow": 1,
    "Reserved0": 0,
    "Reserved1": 0,
    "Reserved2": 0
  },
  "Name": "Target",
  "RelativePath": null,
  "WorkingDirectory": null,
  "Arguments": null,
  "IconLocation": "C:\\target.exe",
  "LocationFlags": 1
}

Download

See GitHub Actions for latest CI build

lnkparse-dotnet's People

Contributors

still34 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.