项目作者: sedrubal

项目描述 :
Download apks from shady sources and put them into a f-droid repo.
高级语言: Python
项目地址: git://github.com/sedrubal/apk_schleuder.git
创建时间: 2017-03-15T02:39:22Z
项目社区:https://github.com/sedrubal/apk_schleuder

开源协议:

下载


APK Schleuder

Download APKs from shady sources and put them into a f-droid repo.

Code Health

Installation

  • (Create a virtualenv: python3 -m virtualenv -p python3 --system-site-packages .venv && . ./.venv/bin/activate)
  • Install apk_schleuder: pip install git+https://github.com/sedrubal/apk_schleuder.git or clone the repo and run ./setup.py install
  • Install (Java) keytool and android sdk (for apksigner)

Config

Create a config under config.py. You can also create a symlink to config_example.py.

Usage

python3 -m apk_schleuder

Add new APKs

  • find a source to download the APK (e.g. apkdownloadmirror.com, apkplz.com, github.com, a website, …)
  • create a new entry in config.py:
  1. 'app_name': {
  2. 'source_1': {
  3. 'type': 'source_type',
  4. ..., # source type specific config
  5. 'apk_signature_fingerprints': [
  6. ('SHA256', \
  7. '5B:77:11:55:16:5A:20:F5:61:92:F0:A4:57:36:4F:18:A9:ED:F9:AC:55:30:DA:A3:3A:0B:C3:7F:63:0E:82:39'),
  8. ('SHA1', 'B2:F6:D2:21:9C:12:EF:B0:1B:76:E8:7F:87:A9:B9:42:86:BA:2C:C9'),
  9. ('MD5', '19:13:11:71:69:43:D0:3F:A3:85:57:B0:B9:1F:73:EC'),
  10. ],
  11. },
  12. ..., # other sources...
  13. },

Get the fingerprints

  • Get an APK from a trustworthy source
  • unzip it
  • search for the signing certificate in folder META-INF (e.g. CERT.RSA)
  • run keytool -printcert -file $certfile and put the fingerprints into config.py

License

(c) 2017 sedrubal - MIT