firebird

package module
v0.0.0-...-29bf6ad Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: Unlicense Imports: 16 Imported by: 1

README

Firebird logo

Firebird

A fast KiwiFlare solver lib.

For example usage, see this simple wrapper I made, phoenix.


Donations are always appreciated but never expected nor required:

XMR: 8BjCARiV2uB2gZTbbiMUetfRxcAYZgVM5fXxjEbpmb2nAu8ND1grazZ1EhMGdRqVerAtvEJeiy7SzA3SLXpg2CtRDtCAFfn

Other crypto (Tor version)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoRedirect  = errors.New("No redirect to challenge page.")
	ErrParseFailed = errors.New("Failed to parse challenge from HTML data tags.")
)

Various errors.

Functions

func Submit

func Submit(hc http.Client, s Solution) (string, error)

Types

type Challenge

type Challenge struct {
	Salt     string // Challenge salt from server.
	Diff     uint32 // Difficulty level.
	Patience uint32 // Time limit for answer in minutes.
	// contains filtered or unexported fields
}

func NewChallenge

func NewChallenge(hc http.Client, host string) (Challenge, error)

type Solution

type Solution struct {
	Salt  string
	Hash  []byte
	Nonce uint32
	// contains filtered or unexported fields
}

func Solve

func Solve(ctx context.Context, c Challenge) (Solution, error)

Solve Challenge c. Returns Solution that can be submitted.

Jump to

Keyboard shortcuts

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