Skip to content

Instantly share code, notes, and snippets.

diff --git a/drivers/Makefile b/drivers/Makefile
index 5f5ccdb..866c993 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -183,3 +183,4 @@ obj-$(CONFIG_FPGA) += fpga/
obj-$(CONFIG_FSI) += fsi/
obj-$(CONFIG_TEE) += tee/
obj-$(CONFIG_MULTIPLEXER) += mux/
+obj-y += vulnerabilities/kernel_build/
Whenever I try using Frida from the official repo https://build.frida.re I kept getting the following errors after which my device panics and restarts:
default 15:46:47.251624 +0530 kernel AMFI: '/private/var/tmp/frida-D8kjW6.dylib' has no CMS blob?
default 15:46:47.251817 +0530 kernel AMFI: '/private/var/tmp/frida-D8kjW6.dylib': Unrecoverable CT signature issue, bailing out.
Looks like codesigning/entitlements issue. Here are the steps I followed to get Frida Running on a jailbroken iOS 12 device
Downloads Latest version of Frida from https://github.com/frida/frida/releases. In my case it was frida-server-12.4.0-ios-arm64.xz.
xz -d frida-server-12.4.0-ios-arm64.xz
scp frida-server-12.4.0-ios-arm64 root@<ios-device-ip>:/usr/bin/frida-server
@dineshshetty
dineshshetty / SimpleSSLHTTPServer.py
Last active November 20, 2017 22:26
Host SimpleHTTPServer over SSL
# Generate the certificate using openssl:
# openssl req -new -nodes -x509 -keyout server_certificate.pem -out server_certificate.pem -days 1
# Then launch the file using `python SimpleSSLHTTPServer.py` and navigate to https://127.0.0.1:8888/ to access the server
import sys, traceback
import BaseHTTPServer, SimpleHTTPServer
import ssl
def main():
try:
@dineshshetty
dineshshetty / install-libimobiledevice-dns.sh
Created October 24, 2017 20:37
Script to install libimobiledevice on MacOS seamlessly
#!/bin/bash
# Script by dns
# Script to install libimobiledevice on MacOS seamlessly
# Install these first before running the script -> brew install automake usbmuxd make autoconf libtool pkg-config gcc openssl gnutls libgcrypt
# to fix fatal error: 'openssl/ssl.h' file not found errors run the below commands
# ln -s /usr/local/Cellar/openssl/1.0.2l/include/openssl /usr/local/lib/
# cp /usr/local/opt/openssl/include/openssl/* /usr/local/opt/openssl/include/
# brew link --force openssl