Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I am a meat popsicle.

magn2o

💭
I am a meat popsicle.
View GitHub Profile
@magn2o
magn2o / eap_proxy.sh
Last active Feb 16, 2021
init.d style service script for eap_proxy on the UDMPro.
View eap_proxy.sh
#!/bin/sh
set -eu -o pipefail
CONTAINER_NAME="eap_proxy"
IMAGE_NAME="pbrah/eap_proxy-udmpro"
IMAGE_TAG="v1.1"
container_exists() {
podman container inspect "${1}" &>/dev/null
@magn2o
magn2o / wpawatch
Last active May 28, 2020
Simple watchdog script for wpa_supplicant/eap_proxy (or anything, really) on the UDM-Pro
View wpawatch
#!/bin/bash
while getopts ":h:t:n:p:s" opt; do
case $opt in
h) OPT_H="${OPTARG}"
;;
t) OPT_T=${OPTARG}
;;
n) OPT_N=${OPTARG}
;;
@magn2o
magn2o / wpa_supplicant.sh
Created Feb 10, 2020
init.d style service script for wpa_supplicant on the UDMPro.
View wpa_supplicant.sh
#!/bin/sh
set -eu -o pipefail
CONTAINER_NAME="wpa_supplicant"
IMAGE_NAME="pbrah/wpa_supplicant-udmpro"
IMAGE_TAG="v1.0"
MAC_ADDRESS=""
ETH_IFACE="eth8"
@magn2o
magn2o / quicktsscheck.sh
Last active Jun 4, 2020
Quick bash script to try and grab all blobs for a specific iOS device..
View quicktsscheck.sh
#!/bin/bash
#
# quicktsscheck.sh
# by /u/magn2o
#
# A simple, quick utility to grab all signed SHSH/blobs. Toss it in crontab and let it work it's magic.
# Tested/built on macOS 10.13.3.
#
#
# CHANGELOG: