collaborator

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MIT Imports: 8 Imported by: 1

README

collaborator

BurpSuite Standard/Private Collaborator Library

Documentation

Index

Constants

View Source
const BURP_URL = "https://polling.burpcollaborator.net/burpresults?biid="

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(str string) (string, error)

func Base64Encode

func Base64Encode(str string) string

Types

type BurpCollaborator

type BurpCollaborator struct {
	sync.RWMutex
	BurpURl        string
	MaxBufferLimit int
	RespBuffer     []BurpHTTPResponse
	BIIDs          map[string]struct{}
	Subdomains     []string
	// contains filtered or unexported fields
}

func NewBurpCollaborator

func NewBurpCollaborator() *BurpCollaborator

func (*BurpCollaborator) AddBIID

func (b *BurpCollaborator) AddBIID(biid string)

func (*BurpCollaborator) AddBIIDs

func (b *BurpCollaborator) AddBIIDs(biids []string)

func (*BurpCollaborator) AddSubdomain

func (b *BurpCollaborator) AddSubdomain(subdomain string)

func (*BurpCollaborator) AddSubdomains

func (b *BurpCollaborator) AddSubdomains(subdomains []string)

func (*BurpCollaborator) Empty

func (b *BurpCollaborator) Empty()

func (*BurpCollaborator) One

func (b *BurpCollaborator) One() string

func (*BurpCollaborator) Poll

func (b *BurpCollaborator) Poll() error

func (*BurpCollaborator) PollById

func (b *BurpCollaborator) PollById(id string) error

func (*BurpCollaborator) PollEach

func (b *BurpCollaborator) PollEach(t time.Duration)

type BurpHTTPResponse

type BurpHTTPResponse struct {
	Responses []BurpResponse `json:"responses,omitempty"`
}

type BurpResponse

type BurpResponse struct {
	Protocol          string           `json:"protocol,omitempty"`
	OpCode            string           `json:"opCode,omitempty"`
	InteractionString string           `json:"interactionString,omitempty"`
	ClientPart        string           `json:"clientPart,omitempty"`
	Data              BurpResponseData `json:"data,omitempty"`
	Time              string           `json:"time,omitempty"`
	Client            string           `json:"client,omitempty"`
}

type BurpResponseData

type BurpResponseData struct {
	SubDomain           string `json:"subDomain,omitempty"`
	Type                int    `json:"type,omitempty"`
	RequestType         string
	RawRequest          string `json:"rawRequest,omitempty"`
	RawRequestDecoded   string
	Request             string `json:"request,omitempty"`
	RequestDecoded      string
	Response            string `json:"response,omitempty"`
	ResponseDecoded     string
	Sender              string `json:"sender,omitempty"`
	SenderDecoded       string
	Recipients          []string `json:"recipients,omitempty"`
	RecipientsDecoded   []string
	Message             string `json:"message,omitempty"`
	MessageDecoded      string
	Conversation        string `json:"conversation,omitempty"`
	ConversationDecoded string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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