ghrecon

package module
v0.0.0-...-b97f896 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 14 Imported by: 0

README

gh-recon

a recon framework for github aimed at pentesting recon

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FullRecon

func FullRecon(url string, hooks []func(TargetFile))

Types

type Organization

type Organization struct {
	Id         int    `json:"id"`
	Login      string `json:"login"`
	ReposUrl   string `json:"repos_url"`
	MembersUrl string `json:"members_url"`
}

func GetOrganization

func GetOrganization(url string) *Organization

func (*Organization) GetMembers

func (org *Organization) GetMembers() []User

func (*Organization) GetRepositories

func (org *Organization) GetRepositories() []Repository

type Repository

type Repository struct {
	Id       int    `json:"id"`
	Owner    User   `json:"owner"`
	Name     string `json:"name"`
	FullName string `json:"full_name"`
	Url      string `json:"clone_url"`
}

type TargetFile

type TargetFile struct {
	Filename string
	Data     []byte
	Repo     *Repository
}

func ParseRepository

func ParseRepository(fs *billy.Filesystem, repo *Repository) []TargetFile

type User

type User struct {
	Login    string `json:"login"`
	Id       int    `json:"id"`
	Type     string `json:"type"`
	ReposUrl string `json:"repos_url"`
}

func (*User) GetRepositories

func (u *User) GetRepositories() []Repository

Jump to

Keyboard shortcuts

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