Skip to content

Instantly share code, notes, and snippets.

View smallevilbeast's full-sized avatar
😂

evilbeast smallevilbeast

😂
View GitHub Profile
@oleavr
oleavr / dump-stack.js
Last active January 30, 2024 15:03
ArtStackVisitor example
const Java = require('frida-java-bridge');
const { getApi, withRunnableArtThread, ArtStackVisitor, translateMethod } = require('frida-java-bridge/lib/android');
Java.perform(() => {
const AccountManager = Java.use('android.accounts.AccountManager');
const m = AccountManager.getAccounts;
m.implementation = function (...args) {
console.log('getAccounts() called from: ' + JSON.stringify(captureBacktrace(), null, 2));
return m.apply(this, args);
@freewayspb
freewayspb / setup-dev.sh
Last active July 19, 2018 22:24
Install homebrew, nginx, mysql, php56, and composer on Mac OS X
#!/bin/bash
# install homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# install homebrew's official php tap
brew tap josegonzalez/homebrew-php
package pl.mkaras.utils;
import android.content.Context;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CoordinatorLayout;
import android.support.v4.view.ViewCompat;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
@starbugs
starbugs / main.m
Created February 24, 2013 00:11
Just a small program to test Objective-C blocks, GCD and GUI on Ubuntu
//
// main.m
// Just a little test case for Objective-C 2.0 on Ubuntu
//
// Created by Tobias Lensing on 2/22/13.
// More cool stuff available at blog.tlensing.org.
//
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>