Skip to content

Instantly share code, notes, and snippets.

Passware Forensic Kit, a distributed password-cracking solution, officially supports macOS. However, there are two major limitations compared to its Windows and Linux support:

  1. There is no headless Agent for macOS, so if Windows, Linux, and macOS devices are part of the same cluster, the Mac must be the machine distributing tasks to others. As a result, only one Mac can be used in a cluster.
  2. On Apple Silicon Macs, OpenCL is highly unstable, hence the M-series GPUs can't be used for decryption tasks by default. This is due to a half-baked OpenCL implementation (which Apple officially deprecated in 2018 before the switch to Apple Silicon architecture), leading to regular crashes.

Ideally, Passware would offer a native arm64 build (instead of a Rosetta-translated x86 one) with support for Metal Compute Shaders instead of relying on outdated OpenCL. However, given the niche use case, this is unlikely to happen. And while it absolutely does not make sense to get a Mac for passwor

@jankais3r
jankais3r / README
Created January 25, 2021 01:45
"WSL" on macOS
See it in action: https://asciinema.org/a/apMoGLtthFSCKrssymYKCwdMy
Setup:
1) Create a new Ubuntu Server VM using VMWare Fusion 12 (free for personal use)
2) Create and enable /etc/systemd/system/vmip.service which will expose VM's IP address on every boot
3) Generate a new, password-less ssh key on your Mac and add it to Ubuntu's authorized keys
4) Create ubuntu.sh on your Mac and adjust paths to the VM
@jankais3r
jankais3r / iOS 13 Entitlements
Created May 1, 2020 12:46
iOS 13 Entitlements
//Sourced from http://newosxbook.com/ent.jl?ent=&osVer=iOS13
abs-client
absinthe-client
adi-client
allow-obliterate-device
allow-softwareupdated
appData
application-identifier
aps-connection-initiate
aps-environment
@jankais3r
jankais3r / Mount BOOTCAMP.scpt
Last active April 27, 2019 07:48
Apple Script that automates the mounting process of a Bitlocker partition
--More details in this thread: https://twitter.com/jankais3r/status/1069974420150804480
tell application "Terminal"
if not (exists window 1) then reopen
activate
do script "sudo -n mount-dislocker /dev/disk0s3 `base64 -D <<< YourBitlockerPasswordEncodedInBase64GoesHere` ; exit" in window 1
repeat while (exists window 1)
end repeat
quit
end tell
@jankais3r
jankais3r / Outlook_binary_patching_and_signing.md
Created November 23, 2015 21:34
Outlook binary patching and signing

Simple shell script to quickly and easily force Outlook 2016 for Mac out of sandbox.

More info here.

See the script in action here.

@jankais3r
jankais3r / Ghost_custom_excerpt_tag.md
Created July 29, 2015 21:49
Ghost - custom excerpt tag

This code snippet implements manual control over excerpts in Ghost.

You will need to modify 2 files and 1 setting:

  1. Ghost/core/server/helpers/content.js - this one will get overwritten during Ghost update
  2. Ghost/content/themes//partials/loop.hbs - this one has to be modified for each theme
  3. 'Blog Footer' section of 'Code Injection' settings page

Default behavior is having whole articles displayed on the front page. If you want to display only an excerpt, put `` at the position you want to cut the article.