Skip to content

Instantly share code, notes, and snippets.

View 0xmachos's full-sized avatar

Mikey 0xmachos

View GitHub Profile
@0xmachos
0xmachos / multi_pihole.md
Created June 15, 2018 12:44
How to configure two Pi-holes on the same network

Multiple Pi-holes

In this scenario we are configuring two Pi-holes running on the same network. pihole0 is the main DNS server while pihole1 is the secondary.

  • pihole0
    • 192.168.1.4
    • http://pi.hole0/admin/
  • pihole1
    • 192.168.1.5
  • http://pi.hole1/admin/
@0xmachos
0xmachos / Keychain.md
Last active February 19, 2024 06:50
Useful resources for working with iOS/ macOS Keychain API

Keychain API

kSecAttrAccessible Mapping

Protection Domain (pdmn) Keychain Accessibility Values
ck kSecAttrAccessibleAfterFirstUnlock
cku kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
dk kSecAttrAccessibleAlways
akpu kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly