collaborator

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: MIT Imports: 8 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.

README

collaborator

BurpSuite Standard/Private Collaborator Library

Documentation

Index

Constants

View Source
const BURP_URL = "https://collaborator4polling.c.act1on3.ru/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
collaborator command

Jump to

Keyboard shortcuts

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