Skip to content

Instantly share code, notes, and snippets.

View jooneyp's full-sized avatar

Joonyoung Park jooneyp

View GitHub Profile
@jooneyp
jooneyp / checksec_iOS.py
Created November 26, 2017 10:27
checksec for iOS
#!/usr/bin/env python2
import struct
import lief
from lief.MachO import LOAD_COMMAND_TYPES, HEADER_FLAGS
def check(filename):
macho = lief.parse(filename)
# check this?
@jooneyp
jooneyp / iOS-checksec.py
Created November 26, 2017 08:57 — forked from ChiChou/iOS-checksec.py
checksec for iOS executables based on lief
#!/usr/bin/env python3
import struct
import lief
from lief.MachO import LOAD_COMMAND_TYPES, HEADER_FLAGS
def check(filename):
macho = lief.parse(filename)
# check this?
@jooneyp
jooneyp / HOWTODMG.md
Created November 2, 2017 04:25 — forked from jadeatucker/HOWTODMG.md
How to create a "DMG Installer" for Mac OS X

Creating a "DMG installer" for OS X

A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.

##Creating the DMG file #Disk Utility

@jooneyp
jooneyp / Makefile
Last active May 17, 2016 08:16 — forked from evands/combine_static_libraries.sh
Compile specified C sources into libraries and combine all in the current directory into a single, mult-architecture static library
DEVROOT = /Applications/Xcode.app/Contents/Developer
SDKROOT = $(DEVROOT)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
TOOLROOT = $(DEVROOT)/Toolchains/XcodeDefault.xctoolchain
PPREFIX = .
CC = $(DEVROOT)/usr/bin/gcc
LD = $(DEVROOT)/usr/bin/ld
CXX = $(DEVROOT)/usr/bin/g++
CPP = $(TOOLROOT)/usr/bin/cpp
AR = $(TOOLROOT)/usr/bin/ar
AS = $(TOOLROOT)/usr/bin/as