GithubHelp home page GithubHelp logo

teardemon / iossecaudit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/iossecaudit

0.0 2.0 0.0 1.6 MB

iOS Security Audit Toolit - A semi-automatic tool for iOS App security audit and iOS reverse engineering

License: GNU General Public License v3.0

Cycript 7.65% Python 92.33% Batchfile 0.02%

iossecaudit's Introduction

1.Installation

1.1 Mac OS X

1.1.1 pc env prepare

  1. install python2.7
  2. "sudo easy_install pip"
  3. "sudo pip install paramiko"
  4. "easy_install prettytable" or "easy_install -U prettytable"
  5. "xcode-select --install", select “install”, then "agre..."
  6. "brew install libimobiledevice", if don't have homebrew ,install it first: "ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null"
  7. "git clone https://github.com/alibaba/iOSSecAudit.git"
  8. cd /path/to/iOSSecAudit, "python main.py"

special note: under macOS 10.12.1 and Xcode8.2. using pip install prettytable or paramiko will cause to can NOT find the module. so try to install them from the source code.

1.1.2 device env prepare

  1. jailbreak iOS device
  2. install cycript in Cydia

1.2 Linux or Windows

Never test on Linux or Windows, cause i am tooooo lazy...

2.Usage

Special Note: strongly suggest execute "chenv" after you connect to your device

Usage:

$ python main.py

Type "help", "cprt" for more information.

>>>help

[I]: Documented commands (type help [topic]):

ab abr aca br chenv cipa clche clzdp cprt cycript dbgsvr dbn dca dipa dlini dlinj dlinji dnload dwa dws e exit fus gbs gdb gdbs go gs gsp gtb h help ibca iipa kcd kcdel kce kcs la lapp las lbs lca log lsl ltb mport nonfat panic pca pid q quit resign sd skc ssh stop upload usb vdb vkc vpl vtb wclzdp wpb

[I]: try 'help [cmd0] [cmd1]...' or 'help all' for more infomation.

>>>help ssh

ssh connect to device with ssh.

args: [ip] [username] [password]

example: 'ssh 10.1.1.1 root alpine'

>>>help usb

usb ssh device over usb(Max OS X support only).

args: [username] [password] [port]

example: 'usb root alpine' or 'usb root alpine 2222'

>>>help dlinji

dlinji inject a dylib into an ipa file, resign and install.

args: [ipa_path] [entitlements_path] [mobileprovision_path] [identity] [dylib]

example: 'dlini ~/tmp/xin.ipa ~/tmp/entitlements.plist ~/tmp/ios_development.mobileprovision 'iPhone Developer: Name Name (xxxxxx)' ~/tmp/libtest.dylib'

>>>usb root xxroot

[E]: SSH Authentication failed when connecting to host

[I]: Connect failed.

>>>usb root alpine

[I]: Connect success. >>>la

[I]: Refresh LastLaunchServicesMap...

[I]: All installed Applications:

0>.手机淘宝(com.taobao.taobao4iphone)

1>.Alilang(com.alibaba.alilang)

2>.微信(com.tencent.xin)

3>.putong(com.yaymedialabs.putong)

4>.支付宝(com.alipay.iphoneclient)

5>.条码二维码(com.mimimix.tiaomabijia)

6>.最右(cn.xiaochuankeji.tieba)

>>>help las

las list all storage file of an application.

args: [bundle_identifer]

example: 'las com.taobaobj.moneyshield' or 'las'

>>>help sd

sd show application detail.

args: [bundle_identifer]

example: 'sd com.taobaobj.moneyshield' or 'sd'

>>>sd cn.xiaochuankeji.tieba

[I]: 最右 Detail Info: Bundle ID : cn.xiaochuankeji.tieba

UUID : D9B2B45F-0D25-4F4F-B6A1-45B514BF4D4B

binary name : tieba

Platform Version: 9.3

SDK Version : iphoneos9.3

Mini OS : 7.0

Data Directory : 5D9B5BE7-A438-4057-8A88-4FDEA6FC2153

URL Hnadlers : wx16516ad81c31d872

              QQ41C6A3FB
	  
              tencent1103537147
	  
              zuiyou7a7569796f75
	  
              wb4117400114

Entitlements :

get-task-allow: 

beta-reports-active: 

aps-environment: production

application-identifier: 3JDS7K3BCM.cn.xiaochuankeji.tieba

com.apple.developer.team-identifier: 3JDS7K3BCM

com.apple.security.application-groups:

3.Thanks

idb:https://github.com/dmayer/idb

class dump:https://github.com/nygard/class-dump

clutch:https://github.com/KJCracks/Clutch

dumpdecrypted:https://github.com/stefanesser/dumpdecrypted

pbwatcher:https://github.com/dmayer/pbwatcher

Please contact me if i use your code while not mention you.

iossecaudit's People

Contributors

junejuly avatar alibaba-oss avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.