googleplay

package module
v1.0.6 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: 15 Imported by: 2

README

googleplay

Google Play APK apps

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

When creating X-DFE-Device-ID, you must use Android API 25 or higher.

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

View Source
const AndroidJA3 = "769,49195-49196-52393-49199-49200-52392-158-159-49161-49162-49171-49172-" +
	"51-57-156-157-47-53,65281-0-23-35-13-16-11-10,23,0"

Variables

This section is empty.

Functions

func Signature added in v1.0.1

func Signature(email, password string) (string, error)

Types

type Auth added in v1.0.4

type Auth struct {
	url.Values
}

func (Auth) Details added in v1.0.4

func (a Auth) Details(device, app string) ([]byte, error)

device is Google Service Framework.

type Checkin added in v1.0.6

type Checkin struct {
	Android_ID int64
}

func NewCheckin added in v1.0.6

func NewCheckin() (*Checkin, error)

func (Checkin) String added in v1.0.6

func (c Checkin) 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(auth, deviceID string) error

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) Auth added in v1.0.4

func (t Token) Auth() (*Auth, 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