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

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

License

Notifications You must be signed in to change notification settings

zbalkan/PolParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages