• Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    Objective-C
  • Created almost 7 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command line utility that interacts with plugged in iOS devices. Uses Apple's MobileDevice framework

mobdevim

Mobile Device Improved: Command line utility that interacts with plugged in iOS devices. Uses Apple's MobileDevice framework


This information was extracted out using the help of these LLDB scripts found here. If you want to learn how to create these scripts or have a better understanding how one can reverse engineer a compiled binary, check out Advanced Apple Debugging and Reverse Engineering


Installation

  1. clone
  2. build project
  3. Upon build success, mobdevim will be placed in /usr/local/bin

Make sure you have permissions to write to /usr/local/bin or else the Xcode build script will fail


Alternatively, a precompiled version is available here.

Commands

        -f	Get device info

  	-d	Debug application
          		mobdevim -d /application/bundle/on/mac/ Debugs application (must install app first)

  	-g	Get device logs/issues
          		mobdevim -g com.example.name Get issues for com.example.name app
          		mobdevim -g 3 Get the 3rd most recent issue
          		mobdevim -g __all Get all the logs

  	-y	Yoink sandbox content
          		mobdevim -y com.example.test Yoink contacts from app

  	-s	Send content to device (use content from yoink command)
          		mobdevim -s com.example.test /tmp/com.example.test Send contents in /tmp/com.example.test to app

  	-i	Install application, expects path to bundle
          		mobdevim -i /path/to/app/bundle Install app

  	-u	Uninstall application, expects bundleIdentifier
          		mobdevim -u com.example.test Uninstall app

  	-c	Dump out the console information. Use ctrl-c to terminate

  	-C	Get developer certificates on device

  	-p	Display developer provisioning profile info
            		mobdevim -p List all installed provisioning profiles
            		mobdevim -p b68410a1-d825-4b7c-8e5d-0f76a9bde6b9 Get detailed provisioning UUID info

  	-l	List app information
        		mobdevim -l List all apps
        		mobdevim -l com.example.test Get detailed information about app, com.example.test
        		mobdevim -l com.example.test Entitlements List "Entitlements" key from com.example.test

  	-R	Use color

  	-q	Quiet mode, ideal for limiting output or checking if a value exists based upon return status


  Environment variables:
	DSCOLOR - Use color (same as -R)

  	DSDEBUG - verbose debugging

  	DSPLIST - Display output in plist form (mobdevim -l com.test.example)

  	OS_ACTIVITY_DT_MODE - Combine w/ DSDEBUG to enable MobileDevice logging

mobdevim example

More commands will be coming soon...

More Repositories

1

LLDB

A collection of LLDB aliases/regexes and Python scripts to aid in your debugging sessions
Python
1,762
star
2

dsdump

An improved nm + Objective-C & Swift class-dump
Objective-C++
1,112
star
3

yacd

Decrypts FairPlay applications on iOS 13.4.1 and lower, no jb required
C
682
star
4

symbol-interposing

C
53
star
5

dynadump

A runtime ObjC class-dump
Objective-C
39
star
6

AirDrop-Hack

Objective-C
38
star
7

ASCIIArtDebugging

Overwrites UIImageView & UIImage's description to print out the image in ASCII Art
Objective-C
34
star
8

dsc_symbols

symbol dumps of iOS shared caches
Shell
32
star
9

LOLzwagon

Significantly bumps up your iOS XCTest code coverage and makes all unit tests pass... by crippling them
Objective-C
31
star
10

SpringBoardPOC

POC for meetup talk.
Python
26
star
11

swiftdizzle

Swift method swizzling/method introspection for Swift instance methods
C
16
star
12

homebrew-funpack

Apple runtime introspection tools
Ruby
16
star
13

lldb_fix

RESOLVED IN XCODE 10.2! Fix for LLDB (in Xcode 10) which incorrectly imports the wrong API headers
C
11
star
14

gcd_internals

Showcases libdispatch lesser known APIs with examples & structs
Objective-C
7
star
15

Meme-Collector

Meme Collector application used in the RayWenderlich Tutorial set. See http://www.raywenderlich.com/45645/ios-app-security-analysis-part-1
Objective-C
5
star
16

dsigner

A Terminal command that doesn't suck at codesigning
C
3
star
17

GoDaddyDebugging

Objective-C
3
star
18

FrameworkFun

Meetup.com Project for Dynamic Libraries
Swift
3
star
19

RE-101

Reverse Engineering 0b101 for https://www.meetup.com/CocoaheadsDenver/
3
star
20

platform_swap

Objective-C
3
star
21

yadsct

placeholder repo for tool accompanying Adv Debgging v4 book.
1
star
22

MultiSelectImagePickerController

UIImagePickerController category that exposes private API for multi selection
Objective-C
1
star