Skip to main content

Static mach-o/img4 analysis tool.

Project description

Logo

MachO/ObjC Analysis + Editing toolkit.



Installation

# Installing
pip3 install k2l

# Updating
pip3 install --upgrade k2l

Usage

> $ ktool
Usage: ktool [command] <flags> [filename]

Commands:

GUI (Still in active development) ---
    ktool open [filename] - Open the ktool command line GUI and browse a file

MachO Editing ---
    insert - Utils for inserting load commands into MachO Binaries
    edit - Utils for editing MachO Binaries
    lipo - Utilities for combining/separating slices in fat MachO files.

MachO Analysis ---
    dump - Tools to reconstruct certain files (headers, .tbds) from compiled MachOs
    list - Print various lists (Classlist, etc.)
    symbols - Print various tables (Symbols, imports, exports)
    info - Print misc info about the target mach-o

Misc Utilities ---
    file - Print very basic info about the MachO
    img4 - IMG4 Utilities
    

Run `ktool [command]` for info/examples on using that command

Documentation

https://ktool.rtfd.io


written in pure, 100% python for the sake of platform independence when operating on static binaries and libraries. this should run on any and all implementations of python3.

Special thanks to

JLevin and *OS Internals for existing

arandomdev for guidance + code

Blacktop for their amazing ipsw project: https://github.com/blacktop/ipsw

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

k2l-0.17.3.tar.gz (59.2 kB view details)

Uploaded Source

Built Distribution

k2l-0.17.3-py3-none-any.whl (65.6 kB view details)

Uploaded Python 3

File details

Details for the file k2l-0.17.3.tar.gz.

File metadata

  • Download URL: k2l-0.17.3.tar.gz
  • Upload date:
  • Size: 59.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for k2l-0.17.3.tar.gz
Algorithm Hash digest
SHA256 1b43774631c319b71c9461e55ba60245588e541f5c856eecf5fc4cfb3536757e
MD5 d334ed13230b58e4368483111a7a78c6
BLAKE2b-256 4d5e79c99deb61a78703dde18b49ee7e6b3b0cf56ec974b8e6ed656013eb446e

See more details on using hashes here.

File details

Details for the file k2l-0.17.3-py3-none-any.whl.

File metadata

  • Download URL: k2l-0.17.3-py3-none-any.whl
  • Upload date:
  • Size: 65.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for k2l-0.17.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19342a45b77a4f2fa2b3413636d2ee5d3d4bd74a78a2ea18a54e645b8dce8916
MD5 c2e41eb4c5a1a810b56d8dbb23eb2920
BLAKE2b-256 1dbb89d8899f496cb104298427fd2dbc7e46ab5d32480ed533eb03a8f28647c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page