This file contains 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 | |
# See https://magnusviri.com/wordle.html | |
# use with https://github.com/tabatkins/wordle-list | |
from string import ascii_lowercase | |
from pprint import pprint | |
# Set all chars to 0 |
This file contains 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
#!/bin/sh | |
# Set the macOS installer path as a variable | |
MACOS_INSTALLER="/Applications/$(ls /Applications | grep "Install macOS")" | |
MOUNT_POINT="$MACOS_INSTALLER/Contents/SharedSupport" | |
# Find the latest pkg at https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz | |
DOWNLOAD_URL="http://swcdn.apple.com/content/downloads/24/46/061-41421-A_M34O0XGXUZ/vpexpha4aju1y04pz8ylxfm3mn1f543z94/macOSUpd10.14.6.RecoveryHDUpdate.pkg" | |
PACKAGE_NAME="macOSUpd10.14.6.RecoveryHDUpdate.pkg" |
This file contains 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
echo "As of October 18, 2018 this script works with this image:" | |
echo "http://cdimage.kali.org/kali-weekly/kali-linux-2018-W41-amd64.iso" | |
echo | |
echo "If you are using a different version you will have to change the variables kbuild, headers1, headers2, and server" | |
echo | |
echo "Look in /lib/modules to find out what version of Kali you need to search for." | |
echo | |
proc=$(uname -r|sed 's,[^-]*-[^-]*-,,') |