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, binding info)
    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.15.5.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

k2l-0.15.5-py3-none-any.whl (58.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: k2l-0.15.5.tar.gz
  • Upload date:
  • Size: 52.6 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.15.5.tar.gz
Algorithm Hash digest
SHA256 b9b9d9ff847a83f23332239ab434f4d5fa096ff8bdd3b0214436ec55a2cfff03
MD5 14cfcc055bf3c509ebfd3b322f3f7b7b
BLAKE2b-256 0ca5efe76335a08a7672194ae4596293c06f92b3072c330b80417e2ad6bb5ebf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k2l-0.15.5-py3-none-any.whl
  • Upload date:
  • Size: 58.2 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.15.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e52eb196bf565b7f44b7792df4e5eb4ca804b3030baa31221a39feb4f8413e94
MD5 3b84c909484bcd4d0bb5b476f0ece815
BLAKE2b-256 af0cafdc270301e10589fe6fbe3547667687f431449eed7fdb37fde17dcc86e3

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