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 / index.html
Created February 22, 2020 18:58
monte-carlo for π
<!DOCTYPE html>
<html>
<head>
<script src="https://d3js.org/d3.v3.min.js"></script>
<title>monte carlo</title>
</head>
<body>
<script>
var width = 800;
var height = 800;

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

@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
		}