fake

package
v0.0.0-...-d9311aa Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MobileQQAndroidApp = &App{
		FixID:    537119544,
		AppID:    537119544,
		Package:  "com.tencent.mobileqq",
		Version:  "8.8.90",
		Build:    "7975",
		Revision: "83e6c009",
		SigHash:  [16]byte{0xa6, 0xb7, 0x45, 0xbf, 0x24, 0xa2, 0xc2, 0x77, 0x52, 0x77, 0x16, 0xf6, 0xf3, 0x6e, 0xb6, 0x8d},
	}
	MiniHDQQAndroidApp = &App{
		FixID:    537066967,
		AppID:    537066967,
		Package:  "com.tencent.minihd.qq",
		Version:  "5.9.4",
		Build:    "3666",
		Revision: "5ad348",
		SigHash:  [16]byte{0xaa, 0x39, 0x78, 0xf4, 0x1f, 0xd9, 0x6f, 0xf9, 0x91, 0x4a, 0x66, 0x9e, 0x18, 0x64, 0x74, 0xc7},
	}
)
View Source
var (
	NextMobileQQAndroidApp = MobileQQAndroidApp
	NextMiniHDQQAndroidApp = MiniHDQQAndroidApp
)
View Source
var (
	MobileQQAndroidSDK = &SDK{
		BuildAt:    1652271523,
		Version:    "6.0.0.2508",
		SSOVersion: 18,
		ImageType:  1,
		CanCaptcha: true,
	}
	MiniHDQQAndroidSDK = &SDK{
		BuildAt:    1630653275,
		Version:    "6.0.0.2484",
		SSOVersion: 18,
		ImageType:  1,
		CanCaptcha: true,
	}
)
View Source
var (
	NextMobileQQAndroidSDK = MobileQQAndroidSDK
	NextMiniHDQQAndroidSDK = MiniHDQQAndroidSDK
)

Functions

This section is empty.

Types

type App

type App struct {
	FixID int32
	AppID int32

	Package  string
	Version  string
	Build    string
	Revision string
	SigHash  [16]byte
}

type Device

type Device struct {
	OS DeviceOS

	APNName   []byte
	SIMOPName []byte

	Bootloader   string
	ProcVersion  string
	Codename     string
	Incremental  string
	Fingerprint  string
	BootID       string
	Baseband     string
	InnerVersion string

	NetworkType  uint8 // 0x00: Others; 0x01: Wi-Fi
	NetIPFamily  uint8 // 0x00: Others; 0x01: IPv4; 0x02: IPv6; 0x03: Dual
	IPv4Address  net.IP
	IPv6Address  net.IP
	MACAddress   string
	BSSIDAddress string
	SSIDAddress  string

	IMEI string
	IMSI string
	GUID [16]byte // []byte("%4;7t>;28<fclient.5*6")

	GUIDFlag      uint32
	IsGUIDFileNil bool
	IsGUIDGenSucc bool
	IsGUIDChanged bool
}

func NewAndroidDevice

func NewAndroidDevice(uin int64) *Device

type DeviceOS

type DeviceOS struct {
	Type        string
	Version     string
	BuildBrand  []byte
	BuildID     string
	BuildModel  string
	SDKVersion  uint32
	NetworkType uint16 // 0x0002: Wi-Fi
}

type SDK

type SDK struct {
	BuildAt    int64
	Version    string
	SSOVersion uint32
	ImageType  uint8
	CanCaptcha bool
}

type Source

type Source struct {
	App    *App
	SDK    *SDK
	Device *Device
}

func NewMiniHDQQAndroidSource

func NewMiniHDQQAndroidSource(uin int64) *Source

func NewMobileQQAndroidSource

func NewMobileQQAndroidSource(uin int64) *Source

func NewNextMiniHDQQAndroidSource

func NewNextMiniHDQQAndroidSource(uin int64) *Source

func NewNextMobileQQAndroidSource

func NewNextMobileQQAndroidSource(uin int64) *Source

Jump to

Keyboard shortcuts

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