L0nm4r / go-winacl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go-WinACL

Usage

package main

import (
	"fmt"
	"os"
	winacl "github.com/kgoins/go-winacl/pkg"
)

func main() {
	rawNTSD, _ := os.ReadFile("testdata.bin")
	ntsd, _ := winacl.NewNtSecurityDescriptor(rawNTSD)
	fmt.Println(ntsd.ToSDDL())
}

Credit

This repo was forked from https://github.com/rvazarkar/go-winacl, who did the hard work of figuring out the models and parsers.

About


Languages

Language:Go 100.0%