OPEN SOURCEGo v1.0.0

Offline Active Directory database (ntds.dit) parser and BloodHound graph reconstructor in pure Go. Extracts directory objects, group memberships, domain trusts, and binary DACLs from dead-disk ESE database pages and registry hives.

$ git clone https://github.com/shehzade/ntds-to-bloodhound.git Copy
GitHub Repo ↗ Releases ↗
Code 21 Commits 1 Releases ↗
ntds-to-bloodhound / Makefile
← Back to directory
19 lines · 695 B
Raw ↗GitHub ↗
1BINARY_NAME=ntds-to-bloodhound
2SRC=cmd/ntds-to-bloodhound/main.go
3
4.PHONY: all build build-all clean
5
6all: build
7
8build:
9 go build -ldflags="-s -w" -o $(BINARY_NAME) $(SRC)
10
11build-all:
12 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o $(BINARY_NAME)-linux-amd64 $(SRC)
13 GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o $(BINARY_NAME)-linux-arm64 $(SRC)
14 GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o $(BINARY_NAME).exe $(SRC)
15 GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o $(BINARY_NAME)-darwin-amd64 $(SRC)
16 GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o $(BINARY_NAME)-darwin-arm64 $(SRC)
17
18clean:
19 rm -f $(BINARY_NAME) $(BINARY_NAME).exe $(BINARY_NAME)-*