Skip to content

Instantly share code, notes, and snippets.

hdiutil convert disk.dmg -format UDBZ -encryption AES-256 -o output.dmg
Now you can delete the original encrypted DMG. Finally, use ASR on the computer to add checksums:
asr -imagescan XXX-XXXXX-XXX.dmg
An alternative way to build a read only DMG (UDZO) is to type:
dmg build XXX-XXXXX-XXX-decrypted.dmg XXX-XXXXX-XXX.dmg
@Devjam81
Devjam81 / KLR.DMe_Recipe.txt
Last active July 29, 2018 03:14 — forked from SadProcessor/KLR.DMe_Recipe.txt
Kali L33tR4t - SadProcessor's HomeGrown Kali ISO Recipe >> DeadMouse Edition (i3wm)
#########################################################################
# $$\ $DEAD$\ $MOUSE\ $$\ EDITION\ $$\ V2\ $$\ #
# $$ | $$ ___$$\ $$ ___$$\ $$ | $$ __$$\ $$ | $$ | $$ | #
# $$ | \_/ $$ |\_/ $$ |$$$$$$\ $$ | $$ |$$ | $$ |$$$$$$\ #
# $$ | $$$$$ / $$$$$ / \_$$ _| $$$$$$$ |$$$$$$$$ |\_$$ _| #
# $$ | \___$$\ \___$$\ $$ | $$ __$$< \_____$$ | $$ | #
# $$ | $$\ $$ |$$\ $$ | $$ |$$\ $$ | $$ | $$ | $$ |$$\ #
# $L33tR4t\\$Kali$ |\$Linux | \$$$$ |$$ | $$ | $$ | \$ISO | #
# \________|\______/ \______/ \____/ \__| \__| \__| \____/ #
#########################################################################
@Devjam81
Devjam81 / README.md
Last active August 29, 2015 14:22 — forked from kirb/README.md

Theos installer for Linux

by Ad@m; based on installsdk3 and installtheos3 by BigBoss

NOTE: This isn't any better than using the on-device toolchain. You should really use that instead.

Usage

Download the script and pipe it to bash as root, like so:

curl git.io/linuxtheos -kL | sudo bash
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'