Skip to content

Instantly share code, notes, and snippets.

Avatar

Max Bazaliy mbazaliy

View GitHub Profile
@mbazaliy
mbazaliy / DexGuardStringDecoder.java
Last active Sep 8, 2015 — forked from AKosterin/DexGuardStringDecoder.java
JEB Plugin for decrypt DexGuard encrypted Strings.
View DexGuardStringDecoder.java
import jeb.api.IScript;
import jeb.api.JebInstance;
import jeb.api.ast.*;
import jeb.api.ast.Class;
import jeb.api.dex.Dex;
import jeb.api.dex.DexCodeItem;
import jeb.api.dex.DexFieldData;
import jeb.api.dex.DexMethod;
import jeb.api.ui.JavaView;
import jeb.api.ui.View;
View gist:4dfbe1223c3180c238bf
expr -- (void)printf("[%s, %s]\n",(char *) object_getClassName(*(long*)($esp+4)), (char *) *(long *)($esp+8) )
@mbazaliy
mbazaliy / crashlytics
Last active Dec 23, 2015
Crashlytics podspec
View crashlytics
Pod::Spec.new do |s|
s.name = "Crashlytics"
s.version = "2.1.2"
s.summary = "A lightweight crash reporting solution"
s.homepage = "http://try.crashlytics.com/"
s.license = {
:type => 'Commercial',
:text => <<-LICENSE
© 2012-2013 Crashlytics.
View automation.sh
#!/bin/bash
# automation.sh
# Created by @idStar - Sohail Ahmed - September 2, 2012
# This script launches the UIAutomation Instrument targeting a pre-existing iOS Simulator app, from the command line.
# Works with Xcode 4.4.1 on Mountain Lion
#
# Usage:
# automation <"App Name.app"> <"testFile.js"> <"base test script path"> <"base iOS Simulator path"> <"results output directory">
#
View PSPDFThreadSafeMutableDictionary.m
//
// PSPDFThreadSafeMutableDictionary.m
//
// Copyright (c) 2013 Peter Steinberger, PSPDFKit GmbH. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
View NSObject+setValuesForKeysWithJSONDictionary.h
//
// NSObject+setValuesForKeysWithJSONDictionary.h
//
// Created by Tom Harrington on 12/29/11.
// Tweaked by Mark Dalrymple
//
// Copyright (c) 2011 Atomic Bird, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
You can’t perform that action at this time.