recon

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Name        string
	Levenshtein int
	Email       string
	FoundIn     []string
}

type Authors

type Authors []Author

type CloseFriendResult

type CloseFriendResult struct {
	Name     string
	Username string
	Orgs     []string
	Company  string
	Location string
	Score    int
}

type CloseFriendsResult

type CloseFriendsResult []CloseFriendResult

func CloseFriends

func CloseFriends(s github_recon_settings.Settings) (results CloseFriendsResult)

CloseFriends returns a list of "close friends" for the target user. A candidate is considered closer if: 1. The target follows fewer than 50 people. 2. The candidate has fewer than 20 followers (+1 point). 3. The candidate follows the target back (+1 point). 4. The candidate shares at least one organization with the target (+1 point).

type CommitResult

type CommitResult struct {
	Name         string
	Email        string
	Occurrences  int
	FirstFoundIn string
}

type CommitsResult

type CommitsResult []CommitResult

func Commits

func Commits(s github_recon_settings.Settings) (response CommitsResult)

type DeepScanResult

type DeepScanResult struct {
	Authors Authors
	Emails  Emails
	Secrets Secrets
}

func DeepScan

func DeepScan(s github_recon_settings.Settings) (response DeepScanResult)

type Email

type Email struct {
	Email       string
	Levenshtein int
	FoundIn     []string
}

type Emails

type Emails []Email

type GpgKeyEmail

type GpgKeyEmail struct {
	Email    string
	Verified string
}

type GpgKeyResult

type GpgKeyResult struct {
	KeyID        string
	PublicKey    string
	CreatedAt    string
	PrimaryKeyID string
	RawKey       string
	Emails       []GpgKeyEmail
	Subkeys      []GpgKeyResult
}

type GpgKeysResult

type GpgKeysResult []GpgKeyResult

func GpgKeys

func GpgKeys(s github_recon_settings.Settings) (response GpgKeysResult)

type OrgResult

type OrgResult struct {
	Name        string
	URL         string
	Description string
}

type OrgsResult

type OrgsResult []OrgResult

func Orgs

func Orgs(s github_recon_settings.Settings) (response OrgsResult)

type Repositorie

type Repositorie struct {
	Repository string
	Owner      string
	Name       string
	Size       int
}

type Secret

type Secret struct {
	Repositorie string
	Raw         map[string]any
}

type Secrets

type Secrets []Secret

type SocialsResult

type SocialsResult []socialResult

func Socials

func Socials(s github_recon_settings.Settings) (response SocialsResult)

type SshKeyResult

type SshKeyResult struct {
	Url       string
	Title     string
	CreatedAt string
	Key       string
	ReadOnly  string
	Verified  string
	LastUsed  string
	AddedBy   string
}

type SshKeysResult

type SshKeysResult []SshKeyResult

func SshKeys

func SshKeys(s github_recon_settings.Settings) (response SshKeysResult)

type SshSigningKeyResult

type SshSigningKeyResult struct {
	Title     string
	CreatedAt string
	Key       string
}

type SshSigningKeysResult

type SshSigningKeysResult []SshSigningKeyResult

func SshSigningKeys

func SshSigningKeys(s github_recon_settings.Settings) (response SshSigningKeysResult)

type UserResult

type UserResult struct {
	Username          string
	AvatarURL         string
	GravatarID        string
	Name              string
	Company           string
	Location          string
	Email             string
	Hireable          string
	Bio               string
	PublicRepos       string
	PublicGists       string
	Followers         string
	Following         string
	CreatedAt         string
	UpdatedAt         string
	SuspendedAt       string
	TotalPrivateRepos string
	PrivateGists      string
	DiskUsage         string
	Collaborators     string
	Plan              string
}

func User

func User(s github_recon_settings.Settings) (response UserResult, err error)

type UsernameResult

type UsernameResult struct {
	DateTime   string // Now
	Target     string
	TargetType github_recon_settings.TargetType

	User    UserResult
	Socials SocialsResult
	Orgs    OrgsResult

	SshKeys        SshKeysResult
	SshSigningKeys SshSigningKeysResult
	GpgKeys        GpgKeysResult

	CloseFriends CloseFriendsResult

	Commits CommitsResult

	DeepScan DeepScanResult
}

func Username

func Username(settings github_recon_settings.Settings) (result UsernameResult, err error)

Jump to

Keyboard shortcuts

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