Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 544 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 544 Bytes

Disclaimer: This repo is just some notes/experimental code.

These repo sets up a local DEP server proxy.

First, we set up a local server which can respond to the same URL endpoints as the DEP server. Next, run ./configure-dep.sh script. The values defined in configure-dep.sh configure the mac to make requests to the local Go proxy. Finally, run dep nag which will make the DEP profile request (through the proxy).

You can manipulate the Go code to intercept the profile returned by the server. Look at profileHandler in main.go