A simple library to parse Registry.pol
files to investigate group Policy Settings. The idea is to enable cross-platform parsing of POL files.
IReadOnlyList<GPRegistryPolicy> policies = Parser.ReadPolFile("Registry.pol");
The Comparer
is a command line application that is created to demonstrate the use of the PolParser. It is a highly simplified version of LGPO.exe
. It parses the pol file, compares it with current computer's registry. It checks only HKLM for the sake of simplicity.
USAGE:
comparer <path> [OPTIONS]
EXAMPLES:
comparer registry.pol -c
ARGUMENTS:
<path> Path of Registry.pol file to parse
OPTIONS:
-h, --help Prints help information
-c, --conflicts A flag to display only conflicting values