This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Mac OSX 10.7 Lion User Password Hash Extractor | |
Modified from https://gist.github.com/teddziuba/3ff08bdda120d1f7822f3baf52e606c2 | |
Extracts a user's password hash from a plist file as a hashcat-compatible string. | |
Plist files can be found at `/var/db/dslocal/nodes/Default/users/{username}.plist`. | |
10.7 Lion stores passwords in SALTED-SHA512 format (hashcat type 1722). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
hyprctl clients -j | jq -r '.[] | [ .title, .class, .pid ] | join(" | ")' | | |
tofi --prompt-text="window: " | | |
awk '{print $NF}' | { | |
read -r id | |
hyprctl dispatch focuswindow pid:$id; | |
} |