This file contains 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 re, requests | |
NDK_VERSION_NUMBER_REGEX = re.compile(r'[1-9][0-9]*\.[0-9]+\.[0-9]{7}(?:-[a-z0-9]+)?') | |
NDK_VERSION_REGEX = re.compile(r"""ndkVersion\s*[= ]\s*['"]([1-9][0-9]*\.[0-9]+\.[0-9]{7}(?:-[a-z0-9]+)?)["']""") | |
r = requests.get('https://gitlab.com/fdroid/android-sdk-transparency-log/-/raw/master/checksums.json') | |
data = r.json() | |
for url, entries in data.items(): | |
for d in entries: |
This file contains 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 python3 | |
import urllib.request | |
import re | |
import ssl | |
import sys | |
# # find generic mirrors | |
mirrors = urllib.request.urlopen('http://www.debian.org/mirror/list') | |
https = [] |
This file contains 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 python3 | |
# | |
# Scan the provided dirs for APKs, then search those APKs for the | |
# Google Firebase Analytics API Key Identifier. | |
import os | |
import sys | |
import zipfile | |
from androguard.core.bytecodes.axml import AXMLPrinter | |
try: |
This file contains 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 | |
cd ~/Downloads | |
filename=screenshot-`date '+%s'`.png | |
$ANDROID_HOME/tools/screenshot2 $@ $filename | |
echo ~/Downloads/$filename | |
curl -F "clbin=@$filename" https://clbin.com |
This file contains 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
} else if (Panic.isTriggerIntent(intent)) { | |
if (PanicResponder.receivedTriggerFromConnectedApp(this)) { | |
if (Preferences.uninstallApp()) { | |
Log.i(TAG, "uninstallApp"); | |
// lock and delete first for rapid response, then uninstall | |
shutdownAndLock(this); | |
PanicResponder.deleteAllAppData(this); | |
Intent uninstall = new Intent(Intent.ACTION_DELETE); | |
uninstall.setData(Uri.parse("package:" + getPackageName())); | |
startActivity(uninstall); |
This file contains 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
String email = null; | |
// get email address from first system account that looks like an email | |
AccountManager manager = AccountManager.get(this); | |
for (Account account : manager.getAccounts()) | |
if (account.name.contains("@") && account.name.contains(".")) { | |
email = account.name; | |
EditText keyEmail = (EditText) findViewById(R.id.keyEmail); | |
keyEmail.setText(email); | |
break; |
This file contains 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
`ls -l > /tmp/conflict-files.txt` | |
total 4340 | |
drwxr-xr-x 2 hans hans 4096 May 15 19:48 Google Play Store Screenshots | |
-rw-r--r-- 1 hans hans 14181 Jun 3 16:32 GPGTools (Hans-Christoph Steiner, Jun 3 16h32).png | |
-rw-r--r-- 1 hans hans 14181 Jun 3 16:32 GPGTools (Hans-Christoph Steiner, Jun 3 16h33).png | |
-rw-r--r-- 1 hans hans 14181 Jun 3 16:33 GPGTools (Hans-Christoph Steiner, Jun 3 16h34).png | |
-rw-r--r-- 1 hans hans 14181 Jun 3 16:34 GPGTools (Hans-Christoph Steiner, Jun 3 16h35).png | |
-rw-r--r-- 1 hans hans 14181 Jun 3 16:35 GPGTools (Hans-Christoph Steiner, Jun 3 16h36).png | |
-rw-r--r-- 1 hans hans 14181 Jun 3 16:36 GPGTools (Hans-Christoph Steiner, Jun 3 16h37).png |
This file contains 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
08-09 16:05:57.287: I/NativeHelper(14578): Finished NativeHelper.setup() | |
08-09 16:05:57.357: D/dalvikvm(14578): Trying to load lib /data/data/info.guardianproject.gpg/app_opt/lib/libgpg-error.so.0 0x405159a0 | |
08-09 16:05:57.367: D/dalvikvm(14578): Added shared lib /data/data/info.guardianproject.gpg/app_opt/lib/libgpg-error.so.0 0x405159a0 | |
08-09 16:05:57.367: D/dalvikvm(14578): No JNI_OnLoad found in /data/data/info.guardianproject.gpg/app_opt/lib/libgpg-error.so.0 0x405159a0, skipping init | |
08-09 16:05:57.367: D/dalvikvm(14578): Trying to load lib /data/data/info.guardianproject.gpg/app_opt/lib/libassuan.so.0 0x405159a0 | |
08-09 16:05:57.377: D/dalvikvm(14578): Added shared lib /data/data/info.guardianproject.gpg/app_opt/lib/libassuan.so.0 0x405159a0 | |
08-09 16:05:57.377: D/dalvikvm(14578): No JNI_OnLoad found in /data/data/info.guardianproject.gpg/app_opt/lib/libassuan.so.0 0x405159a0, skipping init | |
08-09 16:05:57.377: D/dalvikvm(14578): Trying to load lib /data/data/info.guardianproject.gpg/app_opt/lib/libgpgme.s |
This file contains 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
04-17 12:33:06.580: W/System.err(17158): java.net.SocketException: Socket closed | |
04-17 12:33:06.580: W/System.err(17158): XMPPError establishing connection with server.: remote-server-error(502) XMPPError establishing connection with server. | |
04-17 12:33:06.580: W/System.err(17158): -- caused by: javax.net.ssl.SSLHandshakeException: root certificate not trusted of [hyper.to] | |
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.XMPPConnection.initReaderAndWriter(XMPPConnection.java:674) | |
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:810) | |
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267) | |
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43) | |
04-17 12:33:06.580: W/System.err(17158): at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70) | |
04-17 12:33:06.580: W/System.err(17158): Nested Ex |
This file contains 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
Process: Telephone [2263] | |
Path: /Applications/Telephone.app/Contents/MacOS/Telephone | |
Identifier: com.tlphn.Telephone | |
Version: 1.0.2 (102) | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [1201] | |
Date/Time: 2012-01-16 17:25:52.605 -0500 | |
OS Version: Mac OS X 10.6.8 (10K549) | |
Report Version: 6 |
NewerOlder