Skip to content

Instantly share code, notes, and snippets.

View jvictors-tp's full-sized avatar
🔐

Jesse Victors jvictors-tp

🔐
View GitHub Profile
@teddziuba
teddziuba / osx_extract_hash.py
Last active May 30, 2025 13:56
Extract a Mac OSX Catalina user's password hash as a hashcat-compatible string
#!/usr/bin/env python3
"""
Mac OSX Catalina User Password Hash Extractor
Extracts a user's password hash as a hashcat-compatible string.
Mac OSX Catalina (10.15) uses a salted SHA-512 PBKDF2 for storing user passwords
(hashcat type 7100), and it's saved in an annoying binary-plist-nested-inside-xml-plist
format, so previously reported methods for extracting the hash don't work.