Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (21 loc) · 925 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 925 Bytes

PolParser

A simple library to parse Registry.pol files to investigate group Policy Settings. The idea is to enable cross-platform parsing of POL files.

Usage

    IReadOnlyList<GPRegistryPolicy> policies = Parser.ReadPolFile("Registry.pol");

Sample application

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

You will get a result like this: Alt text