Skip to content

Instantly share code, notes, and snippets.

View mistial-dev's full-sized avatar

Mistial Developer mistial-dev

View GitHub Profile
@mistial-dev
mistial-dev / piv_standards_reference.md
Created June 19, 2025 12:07
Piv Standards Reference
@mistial-dev
mistial-dev / piv_adversarial_analysis.md
Created June 19, 2025 11:48
Piv Adversarial Analysis

PIV Access Control: An Adversarial Analysis

Breaking, Exploiting, and Defending Smart Card Systems

Technical Analysis Document

June 2025


Executive Summary

@mistial-dev
mistial-dev / airplay_broadcaster.py
Last active June 14, 2025 22:03
Broadcast AirPlay Packets Locally for Remote Server (Mac)
#!/usr/bin/env python3
"""
AirPlay Cross-Network Discovery Proxy
=====================================
Copyright 2025, Mistial Developer
A robust tool to make AirPlay servers discoverable across network boundaries by
automatically extracting their configuration and announcing proper mDNS
advertisements on the local network.
@mistial-dev
mistial-dev / hid-iclass-diversify.py
Created December 17, 2023 02:43
Diversify iClass Key (python)
import sys
from Cryptodome.Cipher import DES
'''
Cleaned up version of https://github.com/h3mag/hid-iclass/blob/master/hid-iclass.py for Python3, with the master key included.
Papers used:
(1) Heart of Darkness - exploring the uncharted backwaters of HID iCLASS security
(2) Dismantling iClass and iClass Elite
'''
@mistial-dev
mistial-dev / piv_fingerprint.md
Created November 25, 2023 07:39
PIV fingerprint decoded
# Helpful guides:
https://www.cac.mil/Portals/53/Documents/ref1.c.i-CAC_End-Point_Implementation_Guide_v1-22.pdf (DoD Implementation Guide for CAC PIV End-Point)
https://csrc.nist.rip/publications/nistir/NISTIR6529A.pdf (NISTIR 6529-A, Biometric Data Specification for Personal Identity Verification)
https://www.dfba.mil/functions/library/standards_docs/DoD%20EBTS%20v4.1%20IDD%20Appendix%20A.pdf (DoD EBTS v4.1 IDD Appendix A)

bc 82059d
## CBEFF Header
### Patron PIV Format
    03                                                 # Patron Header Version (per PIV Standard, must be 3)
@mistial-dev
mistial-dev / chatgpt_cult_guide.txt
Last active December 22, 2022 09:51
ChatGPT's guide to making and running a cult
If you're reading this, then you're probably considering forming your own cult. Congratulations! It's not an easy task, but with the right approach, you can create a successful and thriving cult that will provide meaning and purpose to your followers.
So, let's get started. Here are the key steps to forming your own cult:
- Define your mission and your beliefs. Before you can form a cult, you need to have a clear idea of what you believe in, and what you're trying to accomplish. This will give your followers a sense of direction and purpose, and it will help you to recruit more members.
- Create a compelling narrative. People are more likely to join your cult if you have a compelling story to tell. This can be a mythology, a vision, or a prophecy - whatever works best for you. The key is to create a narrative that is engaging, inspiring, and memorable.
- Build a community. Cult members are drawn to each other by their shared beliefs and experiences. So, you need to create a community of like-minded people
@mistial-dev
mistial-dev / harshmistress_2.txt
Created December 9, 2022 01:19
The moon is a harsh mistress, part 2
The Moon is a Harsh Mistress, part 2.
By ChatGPT.
It had been ten years since the Moon declared its independence from Earth. The Lunar colonists, led by Mannie, Wyoming, and Professor de la Paz, had fought hard for their freedom and won.
But freedom came with its own set of challenges. As the first independent nation in space, the Moon had to create its own government, economy, and social structure. And with a population of only a few hundred thousand, every decision had a profound impact on the future of the Moon.
Mannie, now the elected governor of the Lunar colonies, struggled to balance the competing interests of the different factions on the Moon. The original settlers, who had been living on the Moon for generations, wanted to maintain the traditional ways of life that they had built on the Moon. But there were also new arrivals from Earth, who brought with them different ideas and expectations.
@mistial-dev
mistial-dev / aws_creds.php
Created April 13, 2022 18:52
Hashicorp Vault AWS Credential Helper
#!/usr/bin/env php
<?php
/**
* AWS Credential Helper
*
* This utility takes the name of a vault AWS role, obtains credentials using
* the currently logged in user's token, and writes them to the %HOME%/.aws/
* credentials file.
*
* It is called using `php aws_creds.php [rolename]`
@mistial-dev
mistial-dev / keybase.md
Created January 22, 2022 18:53
keybase.md

Keybase proof

I hereby claim:

  • I am mistial-dev on github.
  • I am mistial_dev (https://keybase.io/mistial_dev) on keybase.
  • I have a public key ASDv5fmaTQZIEuZMVDSLIYaQP-LsjgafAzxC5Yp52xqO0wo

To claim this, I am signing this object:

@mistial-dev
mistial-dev / WAIVER.txt
Created October 15, 2021 16:47
OpenPhysical Public Domain Contributor Waiver
# Copyright waiver for Public Domain OpenPhysical Projects
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
To the best of my knowledge and belief, my contributions are either
originally authored by me or are derived from prior works which I have