googleplay

package module
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2021 License: OSL-3.0 Imports: 17 Imported by: 2

README

googleplay

Google Play API

https://godocs.io/github.com/89z/googleplay

How to get Android JA3?

First install:

https://github.com/emanuele-f/PCAPdroid

Start app, then change from HTTP Server to PCAP File. Then click start, if prompted to save, choose Downloads. Start Android Chrome and wait for a page to load. Then stop monitoring, and copy file to computer:

adb ls /sdcard/Download
adb pull /sdcard/Download/PCAPdroid_22_Oct_15_19_28.pcap

Then my other package can get you the rest of the way:

https://godocs.io/github.com/89z/parse/crypto

How to get Android public key?

Get this:

https://apkpure.com/google-play-services/com.google.android.gms

Then extract:

apktool d com.google.android.gms.apk

The Android public key modulus length should always be 128, which Base64 encoded looks like:

AAAAgA

So you should be able to search the extracted files for one of these:

AAAAg
public key available

Result:

smali\gnt.smali
320: const-string v1, "no public key available, using default"
321-
322- invoke-interface {v0, v1}, Lalyp;->u(Ljava/lang/String;)V
323-
324- const-string v0, "AAAAgMom/1a/v0lblO2Ubrt60J2gcuXSljGFQXgcyZWveWLEwo6prwg...

Thanks

https://github.com/4thel00z/google-play

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkin added in v1.0.6

type Checkin struct {
	Checkin struct{} `json:"checkin"`
	Version int      `json:"version"`
}

func NewCheckin added in v1.0.6

func NewCheckin() Checkin

func (Checkin) Post added in v1.0.7

func (c Checkin) Post() (*CheckinResponse, error)

type CheckinResponse added in v1.0.7

type CheckinResponse struct {
	Android_ID int64
}

func (CheckinResponse) String added in v1.0.7

func (c CheckinResponse) String() string

type Device added in v1.0.6

type Device struct {
	Configuration struct {
		GlEsVersion            int32    `protobuf:"varint,8"`
		HasFiveWayNavigation   bool     `protobuf:"varint,6"`
		HasHardKeyboard        bool     `protobuf:"varint,5"`
		Keyboard               int32    `protobuf:"varint,2"`
		NativePlatform         []string `protobuf:"bytes,11"`
		Navigation             int32    `protobuf:"varint,3"`
		ScreenDensity          int32    `protobuf:"varint,7"`
		ScreenLayout           int32    `protobuf:"varint,4"`
		SystemAvailableFeature []string `protobuf:"bytes,10"`
		TouchScreen            int32    `protobuf:"varint,1"`
	} `protobuf:"bytes,1"`
}

func NewDevice added in v1.0.6

func NewDevice() Device

func (Device) Upload added in v1.0.6

func (d Device) Upload(deviceID, auth string) error

type OAuth added in v1.0.7

type OAuth struct {
	url.Values
}

func (OAuth) Details added in v1.0.7

func (a OAuth) Details(deviceID, app string) ([]byte, error)

deviceID is Google Service Framework.

type Token added in v1.0.1

type Token struct {
	url.Values
}

func NewToken added in v1.0.4

func NewToken(email, password string) (*Token, error)

Request refresh token.

func (Token) OAuth added in v1.0.7

func (t Token) OAuth() (*OAuth, error)

Exchange refresh token for access token.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL