ticketmaster_epsfc

package module
v0.0.0-...-446b72b Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 12 Imported by: 0

README

Ticketmaster epsfc PoW solver

wakatime

simple implementation of their PoW challenge that generates the epsfc cookie. (I don't know where it's used)


Installation

go get github.com/xkiian/ticketmaster-epsfc

Usage

package main

import (
	"fmt"
	"time"

	epsfc "github.com/xkiian/ticketmaster-epsfc"
)

func main() {
	solver, err := epsfc.NewPowSolver(nil)
	if err != nil {
		fmt.Println(err)
		return
	}

	start := time.Now()
	cookie, err := solver.GetCookie()

	if err != nil {
		fmt.Println(err)
		return
	}

	fmt.Printf("[+] Solved: %s | took %s\n", cookie[0:70], time.Since(start))
}

License

This project is licensed under the MIT License - see the LICENSE file for details.


Star History

Star History Chart

Disclaimer

This package is unofficial and not affiliated with Ticketmaster. Use it responsibly and in accordance with their terms of service.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SolvePow

func SolvePow(challenge string, difficulty int) int64

func SolvePowSingleThreaded

func SolvePowSingleThreaded(challenge string, difficulty int) int64

Types

type PowChallenge

type PowChallenge struct {
	Challenge  string `json:"challenge"`
	Difficulty int    `json:"difficulty"`
	Signature  string `json:"signature"`
	Nonce      int64  `json:"nonce"`
}

type PowSolver

type PowSolver struct {
	// contains filtered or unexported fields
}

func NewPowSolver

func NewPowSolver(client tlsclient.HttpClient) (*PowSolver, error)

func (*PowSolver) GetChallenge

func (p *PowSolver) GetChallenge() (*PowChallenge, error)

func (*PowSolver) GetCookie

func (p *PowSolver) GetCookie() (string, error)

func (*PowSolver) VerifyChallenge

func (p *PowSolver) VerifyChallenge(challenge *PowChallenge) (string, error)

Directories

Path Synopsis
cmd
comparePoW command
test command
threaded command

Jump to

Keyboard shortcuts

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