Skip to content

Instantly share code, notes, and snippets.

@blakefrantz
blakefrantz / keybase.md
Created April 28, 2015 17:38
keybase.md

Keybase proof

I hereby claim:

  • I am blakefrantz on github.
  • I am blakefrantz (https://keybase.io/blakefrantz) on keybase.
  • I have a public key whose fingerprint is A430 52B4 F553 6F0B 59B6 975E 7959 0111 FFD9 EB52

To claim this, I am signing this object:

@blakefrantz
blakefrantz / RegistryPolicyFileTemplate.bt
Last active August 29, 2015 13:56
010 Template for analyzing registry.pol files
//
// 010 Editor v4.0.3d Binary Template
//
// File: RegistryPolicyFileTemplate.bt
// Author: Blake Frantz (blakefrantz at gmail dot com)
// Revision: 1.1, Last Updated on 6 Oct 2014.
// Purpose: Parse registry.pol files.
// See http://msdn.microsoft.com/en-us/library/windows/desktop/aa374407(v=vs.85).aspx
//
// Generate REG commands that align with contents of registry.pol file
@blakefrantz
blakefrantz / gatekeeper_status.sh
Created February 3, 2014 21:32
Determines the state of Gatekeeper on OSX 10.8 and 10.9. Differentiates between three modes: "Mac App Store", "Mac App Store and identified developers", and "Anywhere",
#!/bin/bash
#
# Determines the state of Gatekeeper on OSX 10.8 and 10.9. Differentiates between three modes:
#
# - Mac App Store
# - Mac App Store and identified developers
# - Anywhere
#
# DEV_REQ_[12] are certificate requirements stored in the SystemPolicy sqlite database.
# Each certificate requirement is disabled/enabled persuant to the 'disabled' field in