Skip to content

Failed experiment for running command line macOS tools on jailbroken iOS. There's nothing useful here.

Notifications You must be signed in to change notification settings

zhaozhongke/iOS-run-macOS-executables-tools

 
 

Repository files navigation

folk from zhouwei 


bypass watchdogd

修改了build.sh ,不是用本地的 provision 证书进行签名,用 ldid签名:


#!/bin/sh
set -e
clang -Os -target arm64-apple-ios12.0 -Wall \
	-isysroot "$(xcrun --sdk iphoneos --show-sdk-path)" \
	-o who_let_the_dogs_out \
	who_let_the_dogs_out.c \
	-framework IOKit

# 这里需要用这个重新签名,以获取权限 . 
ldid -Sreal.entitlements who_let_the_dogs_out
# 之后拷贝到设备上运行 
# chmod +x who_let_the_dogs_out
# sh ./bypassdog.sh

# 在设备 console 中会打印出:
# 默认	16:17:29.667201+0800	watchdogd	719661612356458: retrieved current device boot-args:
# 默认	16:17:29.667304+0800	watchdogd	719661614045250: connected to watchdog KEXT
# 默认	16:17:29.671231+0800	watchdogd	719661617909458: userspace monitoring disabled

About

Failed experiment for running command line macOS tools on jailbroken iOS. There's nothing useful here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.1%
  • Assembly 16.2%
  • Shell 13.1%
  • JavaScript 9.0%
  • Python 4.6%