Lib Injection code In OSX

taken from :¬†http://newosxbook.com/src.jl?tree=listings&file=inject.c this is an amazing injction Open Source for OSX   #include <dlfcn.h> #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <mach/mach.h> #include <mach/error.h> #include <errno.h> #include <stdlib.h> #include <sys/sysctl.h> #include <dlfcn.h> #include <sys/mman.h>[…]

Continue reading …