Versions in this module Expand all Collapse all v1 v1.0.2 Apr 20, 2024 v1.0.1 Apr 20, 2024 Changes in this version + var Yz = map[int]struct{ ... } + func AesDecrypt(baseText string, password string, fallbackPass string) (string, error) + func Decrypt(data string, password string, fallbackPass string) string + func DefaultEvpKDF(password []byte, salt []byte) (key []byte, iv []byte, err error) + func DownloadChallenge(urls []string, b64 bool) ([]string, error) + func Encrypt(data string, key string) string + func EvpKDF(password []byte, salt []byte, keySize int, iterations int, ...) ([]byte, error) + func GetOpenAIAuthToken(puid string, dx string, proxy string) (string, error) + func GetOpenAIAuthTokenWithBx(bx string, puid string, dx string, proxy string) (string, error) + func GetOpenAIToken(version int, puid string, dx string, proxy string) (string, error) + func GetOpenAITokenWithBx(version int, bx string, puid string, dx string, proxy string) (string, error) + func PKCS5Padding(src []byte, blockSize int) []byte + func PKCS5UnPadding(src []byte) []byte + func ReadHARFromString(har string) + func SetTLSClient(cli *tls_client.HttpClient) + func YB(gameType int, apiBreaker *ApiBreaker) func(Input) interface + type ApiBreaker struct + Key string + Value []string + type Challenge struct + AudioChallengeURLs []string + AudioGameRateLimited interface{} + ChallengeID string + ChallengeURL string + EarlyVictoryMessage interface{} + EndURL interface{} + FontSizeAdjustments interface{} + GameData struct{ ... } + GameSID string + Lang string + SID string + Sec int + SessionToken string + StringTable map[string]string + StringTablePrefixes []interface{} + StyleTheme string + type ConciseChallenge struct + GameType string + Instructions string + URLs []string + type HARData struct + Log logData + type Input struct + Index int + type KeyFunc func(Input) interface + type Session struct + Challenge Challenge + ChallengeLogger challengeLogger + ConciseChallenge ConciseChallenge + Headers http.Header + Hex string + SessionToken string + Sid string + func StartChallenge(full_session, hex string) (*Session, error) + func (c *Session) RequestChallenge(isAudioGame bool) (*ApiBreaker, error) + func (c *Session) SubmitAnswer(indices []int, isAudio bool, apiBreaker *ApiBreaker) error + type ValueFunc func(Input) Input