Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 392 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 392 Bytes

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.