解密 .automaticDestinations-ms 和 .customDestinations-ms 文件:Windows 快捷方式存储解析
\u002e\u0061\u0075\u0074\u006f\u006d\u0061\u0074\u0069\u0063\u0044\u0065\u0073\u0074\u0069\u006e\u0061\u0074\u0069\u006f\u006e\u0073\u002d\u006d\u0073 \u0061\u006e\u0064 \u002e\u0063\u0075\u0073\u0074\u006f\u006d\u0044\u0065\u0073\u0074\u0069\u006e\u0061\u0074\u0069\u006f\u006e\u0073\u002d\u006d\u0073 \u0066\u0069\u006c\u0065\u0073 \u0069\u0073 \u0066\u0069\u006c\u0065\u0073 \u0075\u0073\u0065\u0064 \u0062\u0079 \u0077\u0069\u006e\u0064\u006f\u0077\u0073 \u006f\u0070\u0065\u0072\u0061\u0074\u0069\u006e\u0067 \u0073\u0079\u0073\u0074\u0065\u006d \u0074\u006f \u0073\u0074\u006f\u0072\u0065 \u0074\u0061\u0073\u006b\u0062\u0061\u0072 \u0061\u006e\u0064 \u0073\u0074\u0061\u0072\u0074 \u006d\u0065\u006e\u0075\u0073 \u0073\u0068\u006f\u0072\u0074\u0063\u0075\u0074\u0073\u002e \u0074\u0068\u0065\u0079 \u0073\u0074\u006f\u0072\u0065 \u0069\u006e\u0066\u006f\u0072\u006d\u0061\u0074\u0069\u006f\u006e \u0061\u0062\u006f\u0075\u0074 \u0072\u0065\u0063\u0065\u006e\u0074\u006c\u0079 \u0075\u0073\u0065\u0064 \u0061\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u0073\u002e \u002e\u0061\u0075\u0074\u006f\u006d\u0061\u0074\u0069\u0063\u0044\u0065\u0073\u0074\u0069\u006e\u0061\u0074\u0069\u006f\u006e\u0073\u002d\u006d\u0073 \u0066\u0069\u006c\u0065 \u0063\u006f\u006e\u0074\u0061\u0069\u006e\u0073 \u0073\u0079\u0073\u0074\u0065\u006d \u0061\u0075\u0074\u006f\u006d\u0061\u0074\u0069\u0063\u0061\u006c\u006c\u0079 \u0067\u0065\u006e\u0065\u0072\u0061\u0074\u0065\u0064 \u0073\u0068\u006f\u0072\u0074\u0063\u0075\u0074\u0073\u002c \u006c\u0069\u006b\u0065 \u0072\u0065\u0063\u0065\u006e\u0074\u006c\u0079 \u006f\u0070\u0065\u006e\u0065\u0064 \u0066\u0069\u006c\u0065\u0073\u002c \u0061\u0063\u0063\u0065\u0073\u0073\u0065\u0064 \u0066\u006f\u006c\u0064\u0065\u0072\u0073 \u0065\u0074\u0063\u002e \u0077\u0068\u0069\u006c\u0065 \u002e\u0063\u0075\u0073\u0074\u006f\u006d\u0044\u0065\u0073\u0074\u0069\u006e\u0061\u0074\u0069\u006f\u006e\u0073\u002d\u006d\u0073 \u0066\u0069\u006c\u0065 \u0063\u006f\u006e\u0074\u0061\u0069\u006e\u0073 \u0075\u0073\u0065\u0072 \u0064\u0065\u0066\u0069\u006e\u0065\u0064 \u0073\u0068\u006f\u0072\u0074\u0063\u0075\u0074\u0073\u002c \u0073\u0075\u0063\u0068 \u0061\u0073 \u0075\u0073\u0065\u0072 \u0066\u0069\u0078\u0065\u0064 \u0074\u006f \u0074\u0068\u0065 \u0074\u0061\u0073\u006b\u0062\u0061\u0072 \u006f\u0072 \u0073\u0074\u0061\u0072\u0074 \u006d\u0065\u006e\u0075\u002e \u0074\u006f \u0072\u0065\u0061\u0064 \u0061\u006e\u0064 \u0064\u0065\u0063\u0072\u0079\u0070\u0074 \u0074\u0068\u0065\u0073\u0065 \u0066\u0069\u006c\u0065\u0073\u002c \u0075\u0073\u0065 \u0074\u0068\u0065 \u0057\u0069\u006e\u0064\u006f\u0077\u0073\u0041\u0050\u0049\u0043\u006f\u0064\u0065\u0050\u0061\u0063\u006b \u006c\u0069\u0062\u0072\u0061\u0072\u0079\u002e \u0068\u0065\u0072\u0065 \u0069\u0073 \u0061\u006e \u0065\u0078\u0061\u006d\u0070\u006c\u0065 \u0063\u006f\u0064\u0065 \u0074\u006f \u0072\u0065\u0061\u0064 \u0061\u006e\u0064 \u0064\u0065\u0063\u0072\u0079\u0070\u0074 \u0074\u0068\u0065\u0073\u0065 \u0066\u0069\u006c\u0065\u0073\u003a \u000a \u000a csharp \u000a using System; \u000a using System.IO; \u000a using Microsoft.WindowsAPICodePack.Shell; \u000a \u000a class Program \u000a { \u000a static void Main(string[] args) \u000a { \u000a string automaticDestinationsFile = \u0022C:\\Users\\Username\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\AutomaticDestinations\\1b4dd67f29cb1962.automaticDestinations-ms\u0022; \u000a string customDestinationsFile = \u0022C:\\Users\\Username\\AppData\\Roaming\\Microsoft\\Windows\\Recent\\CustomDestinations\\1b4dd67f29cb1962.customDestinations-ms\u0022; \u000a \u000a // \u0064\u0065\u0063\u0072\u0079\u0070\u0074 \u002e\u0061\u0075\u0074\u006f\u006d\u0061\u0074\u0069\u0063\u0044\u0065\u0073\u0074\u0069\u006e\u0061\u0074\u0069\u006f\u006e\u0073\u002d\u006d\u0073 \u0066\u0069\u006c\u0065 \u000a ShellObject automaticDestinationsShellObject = ShellObject.FromParsingName(automaticDestinationsFile); \u000a PropertyStore automaticDestinationsPropertyStore = automaticDestinationsShellObject.Properties; \u000a ShellProperty automaticDestinationsProperty = automaticDestinationsPropertyStore.GetProperty(SystemProperties.System.Link.TargetUrl); \u000a string automaticDestinationsUrl = automaticDestinationsProperty.ValueAsObject.ToString(); \u000a Console.WriteLine(\u0022Automatic Destinations URL: \u0022 + automaticDestinationsUrl); \u000a \u000a // \u0064\u0065\u0063\u0072\u0079\u0070\u0074 \u002e\u0063\u0075\u0073\u0074\u006f\u006d\u0044\u0065\u0073\u0074\u0069\u006e\u0061\u0074\u0069\u006f\u006e\u0073\u002d\u006d\u0073 \u0066\u0069\u006c\u0065 \u000a ShellObject customDestinationsShellObject = ShellObject.FromParsingName(customDestinationsFile); \u000a PropertyStore customDestinationsPropertyStore = customDestinationsShellObject.Properties; \u000a ShellProperty customDestinationsProperty = customDestinationsPropertyStore.GetProperty(SystemProperties.System.AppUserModel.ID); \u000a string customDestinationsAppId = customDestinationsProperty.ValueAsObject.ToString(); \u000a Console.WriteLine(\u0022Custom Destinations App ID: \u0022 + customDestinationsAppId); \u000a } \u000a } \u000a \u000a \u000a \u0053\u0068\u0075\u0073\u0062\u006f\u0076\u0065 \u0063\u006f\u0064\u0065 \u0075\u0073\u0065\u0073 \u0077\u0069\u006e\u0064\u006f\u0077\u0073\u0041\u0050\u0049\u0043\u006f\u0064\u0065\u0050\u0061\u0063\u006b \u006c\u0069\u0062\u0072\u0061\u0072\u0079\u0027\u0073 \u0076\u0065\u0072\u0073\u0069\u006f\u006e \u0034\u002e\u0031\u002e\u0030\u002e \u0070\u006c\u0065\u0061\u0073\u0065 \u0065\u006e\u0073\u0075\u0072\u0065 \u0079\u006f\u0075 \u0068\u0061\u0076\u0065 \u0069\u006e\u0073\u0074\u0061\u006c\u006c\u0065\u0064 \u0074\u0068\u0065 \u006c\u0069\u0062\u0072\u0061\u0072\u0079 \u0061\u006e\u0064 \u0072\u0065\u0066\u0065\u0072\u0065\u006e\u0063\u0065\u0064 \u0069\u0074 \u0069\u006e \u0079\u006f\u0075\u0072 \u0070\u0072\u006f\u006a\u0065\u0063\u0074\u002e
原文地址: https://www.cveoy.top/t/topic/p5dg 著作权归作者所有。请勿转载和采集!