unit3d

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package unit3d implements the Unit3D-schema CloakBrowser driver. Unit3D is a Laravel-based PT site framework (BLU, HUNO, Aither, etc.). The HTTP probe path uses the JSON API (/api/user); this CloakBrowser fallback scrapes the rendered HTML user page when Cloudflare/ja3 fingerprinting blocks cookie-based HTTP probing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Manager cloakdriver.ManagerClient
}

Driver is the Unit3D-schema CloakBrowser transport.

func NewDriver

func NewDriver(manager cloakdriver.ManagerClient) *Driver

NewDriver constructs a Unit3D CloakBrowser driver bound to the given Manager client (T8).

func (*Driver) Probe

func (d *Driver) Probe(
	ctx context.Context,
	indexURL string,
	cookies []*http.Cookie,
	profileID string,
) (*sitelogin.ProbeResult, error)

Probe runs the full CloakBrowser lifecycle against a Unit3D site and returns a populated *sitelogin.ProbeResult with Source=ProbeSourceCloak.

Classification errors are encoded into the result; only programming errors (nil manager, empty URL, empty profile) return non-nil err. Timestamps in the result are UTC-normalised. R35 (clear-before-inject) is enforced inside CDPSession.InjectCookies. The launched profile is always Stop()ped via defer, even on error.

Jump to

Keyboard shortcuts

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