gopoc

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoPocRegister

func GoPocRegister(pocName string, handler GoPocScanFunc)

func MapGoPocName

func MapGoPocName() []string

func Size

func Size() int

Types

type GoPocArgs

type GoPocArgs struct {
	Target  string
	Host    string
	Port    string
	Schema  string
	IsHTTPS bool
	Poc     *poc.Poc
}

func New

func New(target string) *GoPocArgs

func (*GoPocArgs) SetPocInfo

func (gpa *GoPocArgs) SetPocInfo(pocinfo poc.Poc)

func (*GoPocArgs) SetTarget

func (gpa *GoPocArgs) SetTarget(target string)

type GoPocResult

type GoPocResult struct {
	ResultRequest  *proto.Request
	ResultResponse *proto.Response
	IsVul          bool
}

type GoPocScanFunc

type GoPocScanFunc func(args *GoPocArgs) (Result, error)

func GetGoPocFunc

func GetGoPocFunc(pocName string) GoPocScanFunc

type Result

type Result struct {
	IsVul        bool
	Gpa          *GoPocArgs
	AllPocResult []*GoPocResult
}

func (*Result) SetAllPocResult

func (r *Result) SetAllPocResult(isvul bool, url *proto.UrlType, reqRaw, respRaw []byte)

Jump to

Keyboard shortcuts

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