sign unsigned package yourself (carefully debug first with ghidra, virustotal etc ;)
sudo codesign –force –deep –sign – /Applications/Foobar.app
this is postinstall script from .pkg package
youtube-dl \
--audio-quality 0 \
--audio-format mp3 \
--embed-thumbnail \
--continue \
--no-overwrites \
--ignore-errors \
--extract-audio \
--yes-playlist \
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
}
#CODE | |
#Generate root password | |
import random, string | |
password = ''.join(random.choice(string.ascii_letters + string.digits) for i in range(20)) | |
#Download ngrok | |
! wget -q -c -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
! unzip -qq -n ngrok-stable-linux-amd64.zip | |
#Setup sshd |
<!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; |
#!/bin/sh | |
# say we have a service shrtnr.io, | |
# this bcrypt implementation (10 salting rounds) | |
# gives a unique hash for the short url | |
# -> shrtnr.io/abcd (abcd - postfix must be choosen with constraints by user) | |
$ htpasswd -nbBC 10 abcd 'www.google.com' | |
# out: abcd:$2y$10$SkjTJYoRgELA7E1dZe11KOB4cT0DsYxbqZGIBJTwZSHbbx.TPnAZq |
<html> | |
<script> | |
var x = document.createElement("IMG"); | |
fetch("https://xkcd.now.sh/?comic=2254") | |
.then(res => res.json()) | |
.then(({ img }) => { | |
x.setAttribute("src", img); | |
document.body.appendChild(x); | |
}) | |
.catch(e => console.log(e)); |
#!/bin/sh | |
# 1. 'tar' saves many files together into a single tape or | |
# disk archive. | |
# | |
# 2. 'xz' is a general-purpose data compression tool, | |
# we use high compression rate and verbose output. | |
# | |
# 3. 'openssl is a cryptography toolkit, we use strong, symmetric | |
# aes256 encryption. |
https://www.youtube.com/watch?v=gU5nFonVEh0 | |
## 16/05/19 | |
❯ lsof -i -n -P | grep node 0.17s [master] ~/code/curl | |
node 764 xkef 15u IPv4 0x2069afb6333f5135 0t0 TCP 127.0.0.1:49395 (LISTEN) | |
node 764 xkef 19u IPv4 0x2069afb6333f47b5 0t0 TCP 127.0.0.1:49396 (LISTEN) | |
❯ mtr 8.8.8.8. |