mirror of
https://github.com/GhostPack/SharpDPAPI
synced 2026-06-08 11:11:23 +00:00
-Added remote server support for user triage functions -Added machine triage (machinemasterkeys, machinecredentials, machinevaults, machinetriage) -Expanded Vault credential format to handle vault credential clear attributes -Expanded machine vault/credential search locations -Broke out commands/files into the same general structure as Rubeus P.S. this release was a huge PITA, hopefully it's appreciated ;) Much <3 to @gentilkiwi for his excellent examples, and @tifkin_ for inspiring this work!
23 lines
654 B
C#
Executable File
23 lines
654 B
C#
Executable File
using System.Collections.Generic;
|
|
|
|
namespace SharpDPAPI.Domain
|
|
{
|
|
public class ArgumentParserResult
|
|
{
|
|
public bool ParsedOk { get; }
|
|
public Dictionary<string, string> Arguments { get; }
|
|
|
|
private ArgumentParserResult(bool parsedOk, Dictionary<string, string> arguments)
|
|
{
|
|
ParsedOk = parsedOk;
|
|
Arguments = arguments;
|
|
}
|
|
|
|
public static ArgumentParserResult Success(Dictionary<string, string> arguments)
|
|
=> new ArgumentParserResult(true, arguments);
|
|
|
|
public static ArgumentParserResult Failure()
|
|
=> new ArgumentParserResult(false, null);
|
|
|
|
}
|
|
} |