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 | |
# | |
# 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
class Fdroidserver < Formula | |
desc "Tools for creating and managing Android app repositories for F-Droid" | |
homepage "https://f-droid.org/" | |
url "https://pypi.python.org/packages/source/f/fdroidserver/fdroidserver-0.4.0.tar.gz" | |
sha256 "89742f2e03e082c9d185835dbb4f166dade19a0e257b247a6e0bca3b4fd9b523" | |
depends_on :java => "1.7" | |
depends_on "libmagic" => :recommended | |
depends_on "libyaml" | |
depends_on :python if MacOS.version <= :snow_leopard |
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
WelcomeActivity I doOnResume | |
I accountsSignedIn | |
I accountsSignedIn: gptest | |
I isSignedIn gptest OFFLINE | |
I accountsAvailable | |
I accountsAvailable: gptest | |
I accountsConfigured: gptest | |
I doOnResume countSignedIn 0 countAvailable 1 countConfigured 1 | |
SignInHelper I setSignInListener | |
WelcomeActivity I signInAll |
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 | |
# Guess values for system-dependent variables and create Makefiles. | |
# Generated by GNU Autoconf 2.69 for gnupg 2.1.1-unknown. | |
# | |
# Report bugs to <http://bugs.gnupg.org>. | |
# | |
# | |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
# | |
# |
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
OtrChatManager V getSessionStatus: [email protected]/ChatSecure-20bbf32c [email protected]/Gajim | |
V getSessionId: [email protected]/ChatSecure-20bbf32c [email protected]/Gajim | |
V getSessionId: [email protected]/ChatSecure-20bbf32c [email protected]/Gajim | |
OtrChatListener V onIncomingMessage: ?OTR:AAIDAAAAAAEAAAABAAAAwEKxAWhVGJrEePyiZBQxfjStAGWG0eK+uvOHTm3a5k8Osd1grUdz9m+V40nkPV29l+5K/M4jyAG00SlXiY4Ds/WpYfyzupmt0PZcOf6o60HClTqmln4MhmFWML1AuxEc+JYELU0j | |
lNIlMso89SgzELM1+UIy637d7RzcBuJQxVB+OzIthHv1HrgwGShPhICyxmfY7mpFDYTzK+rZzNhUN9S/SpLvd/bL6K5MncL7iXhnXPbHraQU/IJg70S+6AJriAAAAAAAAAAQAAAAC5tfjzhKRFThQU2B4+muwdr5bgiYpJ7jtMceDHxnWecA | |
AAAA. | |
OtrChatManager V getSessionId: [email protected]/ChatSecure-20bbf32c [email protected]/Gajim | |
V getSessionStatus: [email protected]/ChatSecure-20bbf32c [email protected]/Gajim | |
V decryptMessage: gptest@jabber. |
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
OtrChatManager V setPolicy: 59 | |
HockeyApp D Looking for exceptions in: /data/data/info.guardianproject.otr.app.im/files | |
D Current handler class = net.hockeyapp.android.ExceptionHandler | |
OtrChatManager V getSessionId: [email protected]/ChatSecure-730b7561 [email protected] | |
V getSessionId: [email protected]/ChatSecure-730b7561 [email protected] | |
V getSessionStatus: [email protected]/ChatSecure-730b7561 [email protected] | |
OtrChatManager V getSessionId: [email protected]/ChatSecure-730b7561 [email protected] | |
V getSessionId: [email protected]/ChatSecure-730b7561 [email protected] | |
V getSessionStatus: [email protected]/ChatSecure-730b7561 [email protected] | |
V getSessionId: [email protected]/ChatSecure-730b7561 [email protected] |
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 = [] |
NewerOlder