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
| Windows Registry Editor Version 5.00 | |
| ; Default color scheme | |
| ; for Windows command prompt. | |
| ; Values stored as 00-BB-GG-RR | |
| [HKEY_CURRENT_USER\Console] | |
| ; BLACK DGRAY | |
| "ColorTable00"=dword:00000000 | |
| "ColorTable08"=dword:00808080 | |
| ; BLUE LBLUE |
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/bash | |
| adb logcat -v time | tee ~/Desktop/$(date '+%Y_%m_%d_%H_%M_%S')_log.txt |
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/bash | |
| export FILE_NAME=`date '+%Y_%m_%d_%H_%M_%S'`_screen | |
| adb shell screencap -p /data/local/tmp/$FILE_NAME.png | |
| adb pull /data/local/tmp/$FILE_NAME.png ~/Desktop/$FILE_NAME.png |
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/bash | |
| [ -d src/ ] || mkdir src | |
| for x in *.scpt; do | |
| osadecompile $x > src/${x/.scpt/}.applescript | |
| done |
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/bash | |
| # Sample usage is as follows; | |
| # ./signapk myapp.apk debug.keystore android androiddebugkey | |
| # | |
| # param1, APK file: Calculator_debug.apk | |
| # param2, keystore location: ~/.android/debug.keystore | |
| # param3, key storepass: android | |
| # param4, key alias: androiddebugkey | |
| USER_HOME=$(eval echo ~${SUDO_USER}) |
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
| import android.accessibilityservice.AccessibilityService; | |
| import android.accessibilityservice.AccessibilityServiceInfo; | |
| import android.util.Log; | |
| import android.view.accessibility.AccessibilityEvent; | |
| public class RecorderService extends AccessibilityService { | |
| static final String TAG = "RecorderService"; | |
| private String getEventType(AccessibilityEvent event) { |
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 com.sjl.util; | |
| import android.app.Activity; | |
| import android.app.Application; | |
| import android.content.Context; | |
| import android.os.Bundle; | |
| import android.os.Handler; | |
| import android.util.Log; | |
| import java.util.List; |
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/bash | |
| if test $# -lt 1 ; then | |
| echo "Usage: $0 <target-apk>" | |
| exit 1 | |
| fi | |
| FILE_NAME=$1 | |
| FOLDER_NAME=`echo $1 | sed 's/^\(.*\)\.\(.*\)$/\1/'` | |
| mkdir -p $FOLDER_NAME | |
| apktool -f d $FILE_NAME | |
| d2j-dex2jar --force $FILE_NAME -o $FOLDER_NAME/$FOLDER_NAME'_dex.jar' |
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 | |
| if test $# -lt 1 ; then | |
| echo "Usage: download_apk.sh <target-dir>" | |
| exit 1 | |
| fi | |
| for APK_PATH in $(adb shell pm list packages -f -3|sed 's/package://g'|sed s/=.*$//g) ; do | |
| echo -n "Pulling $APK_PATH from device... " | |
| adb pull $APK_PATH $1 | |
| done |
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 | |
| if test $# -lt 1 ; then | |
| echo "Usage: download_apk.sh <GooglePlayPackageName>" | |
| exit 1 | |
| fi | |
| PACKAGE=$1 | |
| APK_PATH=`adb shell pm list packages -f -3 | grep $PACKAGE | cut -d'=' -f 1 | cut -c9-` | |
| echo "Pulling $APK_PATH from device" | |
| echo `adb pull ${APK_PATH} ./${PACKAGE}.apk` |