Skip to content

Instantly share code, notes, and snippets.

View magn2o's full-sized avatar
💭
I am a meat popsicle.

magn2o

💭
I am a meat popsicle.
View GitHub Profile
@magn2o
magn2o / eap_proxy.sh
Last active February 16, 2021 07:54
init.d style service script for eap_proxy on the UDMPro.
#!/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 13:02
Simple watchdog script for wpa_supplicant/eap_proxy (or anything, really) on the UDM-Pro
#!/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 February 10, 2020 02:25
init.d style service script for wpa_supplicant on the UDMPro.
#!/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 June 4, 2020 04:25
Quick bash script to try and grab all blobs for a specific iOS device..
#!/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: