Skip to content

Commit

Permalink
Compatibility with new theos; Works on iOS 9 (Tested on iOS 9.3.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Herman Duarte committed Oct 16, 2016
1 parent 4861020 commit 64291d9
Show file tree
Hide file tree
Showing 25 changed files with 1,046 additions and 1,284 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Introspy-iOS Changelog
======================

## v 0.5.1
* Changed to be compatible with the new theos - https://github.com/theos/theos
* Works on iOS 9 (Tested on iOS 9.3.3)

## v 0.4
* Added support for iOS 7, including fixes to accommodate with seatbelt profile changes for System and AppStore apps in iOS 7.
* Clarified output for arguments and return values Introspy-iOS cannot serialize (such as NSError).
Expand Down
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ Installation

Users should first download the latest pre-compiled Debian package available
in the release section of the project page at:
https://github.com/integrity-sa/Introspy-iOS/releases or for older releases at
https://github.com/iSECPartners/Introspy-iOS/releases

### Dependencies

The tracer will only run on a jailbroken device. Using Cydia, make
sure the following packages are installed:
- dpkg
- MobileSubstrate
- Cydia Substrate
- PreferenceLoader
- Applist

Expand Down Expand Up @@ -85,16 +86,15 @@ Most users should just download and install the pre-compiled Debian package.
However, if you want to modify the library's functionality you will have to
build the Debian package yourself.

The build requires rpetrich's fork of the Theos suite, available at
https://github.com/rpetrich/theos.
The build requires the Theos suite, available at https://github.com/theos/theos.
For general instructions on how to install Theos, see
http://www.iphonedevwiki.net/index.php/Theos/Getting\_Started but make sure
you're using rpetrich's fork, not the official Theos.
https://github.com/theos/theos/wiki/Installation.

You first have to create a symlink to your theos installation:
You must also set the $THEOS variable in your environment, and export it so
make will see its value when you run it

cd Introspy-iOS/src/
ln -s /opt/theos/ ./theos
export THEOS=/absolute/path/to/theos
export PATH=$THEOS/bin:$PATH

Then, the package can be built using:

Expand All @@ -118,3 +118,8 @@ Authors

* Tom Daniels
* Alban Diquet

Maintainers
-------

* Herman Duarte
1 change: 1 addition & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ _/*
*.swp
.gitconfig
*.sublime-workspace
packages/*
20 changes: 6 additions & 14 deletions src/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
#TARGET = iphone:6.1

# Comment out the following line if using Xcode 4
ARCHS = armv7 arm64

include theos/makefiles/common.mk

# Xcode 5 got rid of GCC and forces the use of Clang
# Clang complains about unused arguments
# Most likely a bug in Theos, silence these warnings for now
ADDITIONAL_CCFLAGS = -Qunused-arguments
include $(THEOS)/makefiles/common.mk

TWEAK_NAME = introspy
introspy_FILES = Tweak.xmi CallTracer.m hooks/CommonDigestHooks.m hooks/LibCHooks.m hooks/KeychainHooks.m hooks/DelegateProxies.m PlistObjectConverter.m hooks/CommonKeyDerivationHooks.m CallStackInspector.m SQLiteStorage.m hooks/SecurityHooks.m hooks/CommonCryptorHooks.m hooks/CommonHMACHooks.m
introspy_LIBRARIES = sqlite3 substrate
introspy_FILES = Tweak.xm CallTracer.m hooks/CommonDigestHooks.m hooks/LibCHooks.m hooks/KeychainHooks.m hooks/DelegateProxies.m PlistObjectConverter.m hooks/CommonKeyDerivationHooks.m CallStackInspector.m SQLiteStorage.m hooks/SecurityHooks.m hooks/CommonCryptorHooks.m hooks/CommonHMACHooks.m
introspy_LIBRARIES = sqlite3

introspy_FRAMEWORKS = UIKit, Foundation, Security
include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
install.exec "killall -9 SpringBoard"
Loading

0 comments on commit 64291d9

Please sign in to comment.