bugcrowd

package
v0.0.0-...-cfbb9a6 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	USER_AGENT          = "Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0"
	BUGCROWD_LOGIN_PAGE = "https://bugcrowd.com/user/sign_in"
)

Variables

This section is empty.

Functions

func GetCategories

func GetCategories(input string) []string

func GetProgramHandles

func GetProgramHandles(sessionToken string, bbpOnly bool, pvtOnly bool) []string

func Login

func Login(email string, password string) string

func PrintAllScope

func PrintAllScope(token string, bbpOnly bool, pvtOnly bool, categories string, delimiter string, concurrency int)

PrintAllScope prints to stdout all scope elements of all targets

Types

type ProgramData

type ProgramData struct {
	Url        string
	InScope    []ScopeElement
	OutOfScope []ScopeElement
}

func GetAllProgramsScope

func GetAllProgramsScope(token string, bbpOnly bool, pvtOnly bool, categories string, concurrency int) (programs []ProgramData)

func GetProgramScope

func GetProgramScope(handle string, categories string, token string) (pData ProgramData)

type ScopeElement

type ScopeElement struct {
	Target string
}

Jump to

Keyboard shortcuts

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