Skip to content

blacktop/ios-pocs

Repository files navigation

ios-pocs

iOS POCs and Ideas

Getting Started

Install Utils

Install usbmuxd

$ brew install usbmuxd

Install jtool

$ brew cask install jtool

SSH via USB

Start proxy

$ iproxy 2222 22 &

SSH

$ ssh -p 2222 root@localhost

Build in VSCode

Command+Shift+B

=OR=

$ make all

Debugging

NOTE: when you connected to XCode it installed dev tools on the device

In ssh session on iDevice

iPod-touch:~ root# /Developer/usr/bin/debugserver localhost:6666 --waitfor evil

In VSCode (build binary)

Command+Shift+B

Now Start Debugging (remember to set a breakpoint)

Press F5 or use GUI (you will need to continue past initial trap)

In DEBUG CONSOLE

Let's wake this lil guy up early 😈

> thread jump --line 16
> continue

Misc

Get Levin's iOSBinaries

$ wget http://newosxbook.com/tools/binpack64-256.tar.gz
$ scp -P 2222 root@localhost:/
$ ssh -p 2222 root@localhost
iPod-touch:~ root# cd /
iPod-touch:~ root# tar -kxvf binpack64-256.tar.gz

Stop iOS Auto-Updating

iPod-touch:~ root# echo "127.0.0.1    mesu.apple.com" >> /etc/hosts

About

iOS POCs and Ideas

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published