pandora

package
v1.43.9 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: OSL-3.0 Imports: 10 Imported by: 0

README

Pandora

How to get Blowfish key?

jadx.bat com.pandora.android-21101001.apk

Result:

com\pandora\constants\PandoraConstants.java
8:    public static final byte[] b = "6#26FRL$ZWD".getBytes(Charset.defaultCharset());

https://github.com/skylot/jadx

How to get password for partnerLogin?

https://github.com/89z/googleplay/tree/master/cmd/mitmproxy-cert

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log = format.Log{Writer: os.Stdout}
)

Functions

func Decrypt

func Decrypt(src []byte) ([]byte, error)

func Encrypt

func Encrypt(src []byte) ([]byte, error)

Types

type PartnerLogin

type PartnerLogin struct {
	Result struct {
		PartnerAuthToken string
	}
}

func NewPartnerLogin

func NewPartnerLogin() (*PartnerLogin, error)

func (PartnerLogin) UserLogin

func (p PartnerLogin) UserLogin(username, password string) (*UserLogin, error)

type PlaybackInfo

type PlaybackInfo struct {
	Stat   string
	Result *struct {
		AudioUrlMap struct {
			HighQuality struct {
				AudioURL string
			}
		}
	}
}

type UserLogin

type UserLogin struct {
	Result struct {
		UserID        string
		UserAuthToken string
	}
}

func (*UserLogin) Decode

func (u *UserLogin) Decode(src io.Reader) error

This can be used to decode an existing login response.

func (UserLogin) Encode

func (u UserLogin) Encode(dst io.Writer) error

func (UserLogin) PlaybackInfo

func (u UserLogin) PlaybackInfo(id string) (*PlaybackInfo, error)

func (UserLogin) ValueExchange

func (u UserLogin) ValueExchange() error

Token is good for 30 minutes.

Jump to

Keyboard shortcuts

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