This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
jarsigner -verbose -keystore ~/.android/debug.keystore \ | |
-storepass android -keypass android -digestalg SHA1 -sigalg MD5withRSA \ | |
-sigfile CERT -signedjar $1.signed \ | |
$1 androiddebugkey% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find $1 -name '*.apk' -exec shasum -a1 {} \; | awk '{print $2 " " $1}' | xargs -r -n2 ln -s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PROXY_HOST=$(ifconfig en0 | grep "inet " | awk '{print $2}') | |
PROXY_PORT=8080 | |
function adb_shell { | |
cmd="$1" | |
adb shell "${cmd}" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
TCPDUMP_PID="" | |
SOCAT_PID="" | |
OUTPUT_FILE="" | |
PORT=12345 | |
TMPDIR="." | |
TCPDUMP_PATH="/data/local/tmp/xbin/tcpdump" | |
NETCAT_PATH="/data/local/tmp/nc" | |
HOST_INTERFACE="en0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Distributed Places re: http://con.racket-lang.org/2012/tewk-slides.pdf | |
(require racket/place | |
racket/place/distributed) | |
(provide hello-world) | |
(define (hello-world ch) | |
(printf/f "hello-world received: ∼a\n" | |
(place-channel-get ch)) | |
(place-channel-put ch "Hello World\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GLOBAL CONFIGURATIONS | |
# ------------------------------------------------------------------- | |
# See https://github.com/jigish/slate/wiki/Global-Configs | |
config defaultToCurrentScreen true | |
config secondsBeforeRepeat 0.4 | |
config secondsBetweenRepeat 0.1 | |
config keyboardLayout "qwerty" | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package android.injection.logging; | |
import android.util.Log; | |
import java.util.Random; | |
import utils.HexDump; | |
public class LogUtil { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Start-up script for JEB (MacOS) | |
JAVA=`which java` | |
if [ ! -f "$JAVA" ]; | |
then | |
echo "JEB requires a Java runtime environment, please install one." | |
exit -1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import capstone | |
import binascii | |
import sys | |
class Data(object): | |
def __init__(self): | |
pass | |
def slurp(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
ADD package.json /tmp/package.json | |
RUN cd /tmp && npm install && \ | |
mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/ | |
# ... | |
WORKDIR /opt/app | |
ADD . /opt/app |