token

package module
v0.0.0-...-d8c736c Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: GPL-2.0 Imports: 9 Imported by: 1

README

FuckCoolapkTokenV2

Generate random request token for coolapk v11+

Usage

package main

import (
    "fmt"
    "github.com/XiaoMengXinX/FuckCoolapkTokenV2"
)

func main() {
    deviceCode, reqToken := token.GetToken()
    fmt.Printf("Random devicde code: %s\nRandom token: %s\n", deviceCode, reqToken)
}

output:

Random devicde code: IDMw4SNwEDMyIjLBFTUTByOhRDIsVGepBFI7UGbn92bHByOlx2Zv92RgszM4oTO5oTZ4ojYlpTO0oDNwAyOgsDI7MjM0cjRCFENFREOGNzNwQUM1AzN4YkQwgTOwMzMDNTM
Random token: v2JDJ5JDEwJE1UWTBOemt6TVRJME5BLzA4NWI0M3U1NzdKdDFMOUVFTm9Mb3I2WUwwbWFXQ1Q2bHJtN2NP
Enjoy it~

Thanks to

QQ little ice

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDeviceCode

func CreateDeviceCode(aid, mac, manufactor, brand, model, buildNumber string) string

CreateDeviceCode Generace your custom device code

func GetToken

func GetToken() (randDeviceCode, token string)

GetToken Generate a token with random device info

func GetTokenWithDeviceCode

func GetTokenWithDeviceCode(deviceCode string) string

GetTokenWithDeviceCode Generate a token with your device code

Types

This section is empty.

Jump to

Keyboard shortcuts

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