Code Monkey home page Code Monkey logo

apkparser's Introduction

apkparser

android apk file parser tools

Installation

Run the following in your command-line:

$ brew tap wswenyue/apkparser && brew install apkparser

How to use

$ apkparser -h

usage: h
 -amstart       adb am start app intent String
 -apk <arg>     the apk file path
 -apn           the app applicationName
 -h             help
 -info          show all info
 -kalgid        the app key sign algIdName
 -kinfo         show apk key info
 -kinterval     the app key interval
 -kissuer       the app key issuer
 -kserialno     the app key serialNumber
 -ksignmd5      the app key sign md5
 -ksignsha1     the app key sign sha1
 -ksignsha256   the app key sign sha256
 -ksubject      the app key subject
 -launcher      the app launcher [first Activity in launchers]
 -launchers     the app launchers
 -name          the app name
 -pn            the app packageName
 -vc            the app versionCode
 -vn            the app versionName

eg:

$ apkparser -apk testapp.apk

result:

{
	"activities":[...],
	"appName":"@2131165218",
	"debuggable":"false",
	"keyInfo":{
		"algIdName":"SHA256withRSA",
		"interval":"Wed Jul 05 14:15:05 CST 2017--Thu Apr 07 14:15:05 CST 2072",
		"issuer":"CN=Wenyue, OU=Ws, O=Ws, L=CN, ST=BJ, C=CN",
		"serialNumber":"2a7c48ce",
		"sign_md5":"6D:15:B6:36:99:10:23:FC:87:9A:0A:26:DD:65:FB:D3",
		"sign_sha1":"FC:7E:6C:CE:60:0D:8E:0D:17:58:DA:4D:01:71:A7:BE:09:C0:3A:29",
		"sign_sha256":"F5:7C:6E:34:F0:AD:82:F6:9C:09:09:AA:88:09:26:A4:C9:F5:3E:74:68:C4:62:2A:FC:9D:9F:5A:28:56:8A:B7",
		"subject":"CN=Wenyue, OU=Ws, O=Ws, L=CN, ST=BJ, C=CN",
		"version":3
	},
	"launchers":[
		{
			"intentFilter":{
				"actions":[{
					"name":"android.intent.action.MAIN"
				}],
				"categories":[{
					"name":"android.intent.category.LAUNCHER"
				}]
			},
			"name":"win.wswenyue.helloandroid.MainActivity"
		}
	],
	"packageName":"win.wswenyue.helloandroid",
	"versionCode":"1",
	"versionName":"1.0"
}

apkparser's People

Contributors

wswenyue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

apkparser's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.