Skip to content

Instantly share code, notes, and snippets.

View beerpiss's full-sized avatar
🗿
moyai

beerpsi beerpiss

🗿
moyai
View GitHub Profile
@beerpiss
beerpiss / scrape-emojis.md
Last active April 14, 2022 11:51
Scraping emojis from Unicode's website into machine-readable JSON
@beerpiss
beerpiss / how-to-remove-mybloxx.md
Last active April 1, 2022 07:04
How to remove MYbloXX entirely

This guide is for non-jailbroken phones. If you're jailbroken, remove MYbloXX from your package manager before restoring rootFS/unjailbreaking.

Table of contents

Proxy auto-configuration (PAC)

MYbloXX uses a PAC located here, which persists after rootFS and even a full restore because proxy configuration is stored in /var.

@beerpiss
beerpiss / git-build-manifest.mk
Last active March 19, 2022 15:35
Adding git build manifest to Theos package versions
include $(THEOS)/makefiles/package.mk
# Git-based versioning
# If not a git repo (downloaded tarball etc.), use version from control file
# If git repo:
# - If on tag, use version from control file
# - If not on tag, use version from control file with added git manfest
# - Release version is $(PACKAGE_VERSION)+git$(GIT_DATE).$(GIT_COMMIT_HASH)
# - Debug version is $(PACKAGE_VERSION)-debug.$(_DEBUG_NUMBER)+git$(GIT_DATE).$(GIT_COMMIT_HASH)
# $(_DEBUG_NUMBER) is incremental.
ifeq ($(shell git rev-parse --is-inside-work-tree),true)
@beerpiss
beerpiss / openapi-tsssaver-shshhost.md
Last active April 2, 2022 23:40
OpenAPI 3 definitions for TSS Saver API and shsh.host
@beerpiss
beerpiss / convert.py
Last active March 15, 2022 04:09
Python script to convert IMG4 to SHSH blobs
"""
Converts a raw img4 to an SHSH blob.
Similar to `img4tool --convert -s out.shsh dump.raw`
Requirements:
pyasn1
Usage:
python convert.py <raw img4> [output]
"""
@beerpiss
beerpiss / patching-uyou-for-ios-12.md
Last active April 1, 2022 06:38
Patching uYou's control file to install on iOS 12-

Prerequisites: PoomSmart's and MiRO92's repo added.

Run line-by-line in a terminal of choice (e.g. NewTerm 3)

apt download --allow-unauthenticated com.miro.uyou
dpkg-deb -R ./com.miro.uyou_2.1_iphoneos-arm.deb build
sed -i 's/firmware (>=13.0)/firmware (>=13.0) | com.ps.uyoucompat/' build/DEBIAN/control
dpkg-deb --build ./build
sudo apt install ./build.deb
@beerpiss
beerpiss / procursus-deploy-windows.md
Last active April 1, 2022 06:38
odysseyra1n bootstrap script but it's in PowerShell

Run by doing

iwr https://gist.github.com/beerpiss/5adfd84dd5a60f9c7c733321cd187529/raw/b1e991f56b35f151b82e68fe8386a6fa7f589d84/procursus-deploy.ps1 | iex
@beerpiss
beerpiss / shitc0ver.plist
Created January 9, 2022 02:25
is this how you write launch daemons
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.beerpsi.shitc0ver</string>
<key>POSIXSpawnType</key>
<string>Interactive</string>
<key>ProcessType</key>
@beerpiss
beerpiss / launchctl.sh
Last active April 16, 2022 07:55
launchctl reboot userspac
#!/bin/sh
LAUNCHCTL_PATH="/bin/launchctl"
if ! command -v $LAUNCHCTL_PATH &> /dev/null
then
LAUNCHCTL_PATH="/usr/bin/launchctl"
fi
if [ -t 0 ] && [ "$1" = "reboot" ]; then
if [ "$2" = "userspace" ]; then

Keybase proof

I hereby claim:

  • I am extradummythicc on github.
  • I am beerpsi (https://keybase.io/beerpsi) on keybase.
  • I have a public key ASCpUinfnu8PMHeqO4EPzxx-9qTSSDXRSnJo2kKnkp5aQwo

To claim this, I am signing this object: