Giter Club home page Giter Club logo

dexterity's Introduction

dexterity

Description

dexterity is a C library intended for manipulation and analysis of DEX files. It has python bindings for all basic DEX structures and most of the manipulation functions.

WARNING: This library is still in it's early stages of development, use at your own risk!

Examples

Mirror

The following example parses a DEX file using the built-in parser and then writes a new DEX file from the parsed structures in memory.

#!/usr/bin/python

from dx.dex import Dex

dex = Dex("classes.dex")
dex.save("mirror.dex")
Add String

The following example parses a DEX file, add a string to it, creates a new DEX file with the modifications and fix the signature and checksum of the new file.

#!/usr/bin/python

from dx.dex import Dex
from dx.hash import update_signature
from dx.hash import update_checksum

dex = Dex("classes.dex")
dex.add_string("Hello World")
dex.save("hello.dex")

update_signature("hello.dex")
update_checksum("hello.dex")

For more examples of other usages of the library, check the examples folder.

License

dexterity is released under BSD 3-clause license. Please check LICENSE for more details.

Support

For questions and/or suggestions, join #droidsec on Freenode.

dexterity's People

Contributors

rchiossi avatar josephredfern avatar strazzere avatar

Watchers

James Cloos avatar youngsheldon 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.