SkillAgentSearch skills...

PolParser

A simple library to parse Registry.pol files with a working demo application.

Install / Use

/learn @zbalkan/PolParser
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated6mo ago
Forks0

Languages

C#

Security Score

82/100

Audited on Sep 23, 2025

No findings