Skip to content

Instantly share code, notes, and snippets.

View zimmerst's full-sized avatar

Stephan Zimmer zimmerst

View GitHub Profile
@zimmerst
zimmerst / apfs_brute.sh
Last active September 12, 2022 07:45 — forked from tokyoneon/apfs_brute.sh
Brute Force FileVault Protected Partitions
#!/bin/bash
# https://null-byte.wonderhowto.com/how-to/hacking-macos-break-into-macbook-encrypted-with-filevault-0185177/
# checks to ensure all 3 args are present
if [[ ! $3 ]]; then
echo -e "\nusage: $ ./script.sh /dev/sdaX passwords.list -killswitch\n"
exit 0
fi
@zimmerst
zimmerst / rootnotes.py
Last active August 29, 2015 14:16 — forked from mazurov/rootnotes.py
"""
Helper module for displaying ROOT canvases in ipython notebooks
Usage example:
# Save this file as rootnotes.py to your working directory.
import rootnotes
c1 = rootnotes.default_canvas()
fun1 = TF1( 'fun1', 'abs(sin(x)/x)', 0, 10)
c1.SetGridx()