Summery
lnkparse3 is a Python tool for parsing Windows .lnk files, also called shortcut files.
In pentesting, it helps inspect shortcuts found on SMB shares, user directories, or other accessible locations. Parsed metadata can reveal target paths, command-line arguments, working directories, and references to network shares or remote hosts.
For example, a shortcut might point to a script on a server or contain arguments that expose useful information, such as internal hostnames, IP addresses, usernames, network shares, or accidentally embedded credentials. During pentesting, these clues help identify additional systems and locate potentially sensitive files or misconfigurations.
It is useful during file enumeration when searching for interesting artifacts, but parsing a shortcut does not execute its target.
Commands
lnkparse login.vbs.lnk - Basic usage
References
Used in: BabyTwo
Useful for: login.vbs