Git Product home page Git Product logo

inject_aarch64's Introduction

inject_aarch64

Simply clone the directory and run make which will create inject_arm64 and inject_arm64e respectively.

NOTE: AMFI needs to be turned off for arm64e if you are targeting Apple binaries until the ES method is implemented.

Below is a simple usage on the Books application.

First step is creating the library.

$ cat lib.c
#include <stdio.h>

__attribute__((constructor))
static void ctor(void)
{
    printf("hello from ReverseApple\n");
}
$ gcc lib.c -dynamiclib -o lib.dylib -arch arm64e
$ # create ~/Library/Logs/AirTraffic directory because it can be read from sandbox
$ mkdir ~/Library/Logs/AirTraffic
$ # copy to previous location to respect the sandbox
$ cp lib.dylib ~/Library/Logs/AirTraffic/airtraffic.log
$ sudo ./inject_arm64e 42448 ~/Library/Logs/AirTraffic/airtraffic.log

Running against Books

inject_aarch64's People

Contributors

nsecho avatar angelod2022 avatar

Stargazers

morphine avatar MYCYTY avatar  avatar 于晓c avatar  avatar Bugra Karabudak avatar Maulvi Alfansuri avatar rys avatar Xummer avatar SeeFlowerX avatar Aleksei Kulaev avatar Code.m avatar ❂ avatar Fakhri Zulkifli avatar  avatar Mengyu Li avatar Aan avatar Matthew Conway avatar Kevin Bradley avatar Jevin Sweval avatar actae0n avatar Derek avatar

Watchers

Jevin Sweval 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.