Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View xkef's full-sized avatar
:bowtie:
Working from home

xkef

:bowtie:
Working from home
  • Zürich
View GitHub Profile
@xkef
xkef / art.md
Last active May 8, 2020 12:30
ios jailbreak: detection and bypass

From /TheSwiftyCoder/JailBreak-Detection:

static func isJailbroken() -> Bool {
		
		guard let cydiaUrlScheme = NSURL(string: "cydia://package/com.example.package") else { return false }
		if UIApplication.shared.canOpenURL(cydiaUrlScheme as URL) {
			return true
		}
		
@xkef
xkef / youtube-dl playlist downloader.md
Created January 29, 2019 10:11
download youtube playlist with thumbnails
youtube-dl                    \
      --audio-quality 0       \
      --audio-format mp3      \
      --embed-thumbnail       \
      --continue              \
      --no-overwrites         \
      --ignore-errors         \
      --extract-audio         \
 --yes-playlist \

codesign

sign unsigned package yourself (carefully debug first with ghidra, virustotal etc ;)

sudo codesign –force –deep –sign – /Applications/Foobar.app

example studio one crack

this is postinstall script from .pkg package