w3af

package
v0.0.0-...-197a5f8 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2015 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SevInfo   = "Information"
	SevLow    = "Low"
	SevMedium = "Medium"
	SevHigh   = "High"
)

this constants from w3af/core/data/constants/severity.py

Variables

Functions

This section is empty.

Types

type Error

type Error struct {
	Caller string `xml:"caller,attr"`
	Desc   string `xml:",chardata"`
}

type HttpBody

type HttpBody struct {
	ContentEncoding string `xml:"content-encoding,attr"`
	Content         []byte `xml:",chardata"`
}

type HttpEntity

type HttpEntity struct {
	Status  string        `xml:"status"`
	Headers []*HttpHeader `xml:"headers>header"`
	Body    *HttpBody     `xml:"body"`
}

type HttpHeader

type HttpHeader struct {
	Field   string `xml:"field,attr"`
	Content string `xml:"content,attr"`
}

type HttpTransaction

type HttpTransaction struct {
	Id       int         `xml:"id,attr"`
	Request  *HttpEntity `xml:"http-request"`
	Response *HttpEntity `xml:"http-response"`
}

type Profile

type Profile struct {
	Target        string
	Base          string
	XmlOutputPath string
}

func (*Profile) GenIni

func (p *Profile) GenIni() string

type Reference

type Reference struct {
	Url   string `xml:"url,attr"`
	Title string `xml:"title,attr"`
}

type Vulnerability

type Vulnerability struct {
	Id               string             `xml:"id,attr"`
	Name             string             `xml:"name,attr"`
	Method           string             `xml:"method,attr"`
	Plugin           string             `xml:"plugin,attr"`
	Severity         string             `xml:"severity,attr"`
	Url              string             `xml:"url,attr"`
	Var              string             `xml:"var,attr"`
	Description      string             `xml:"description"`
	LongDescription  string             `xml:"long-description"`
	FixGuidance      string             `xml:"fix-guidance"`
	HttpTransactions []*HttpTransaction `xml:"http-transactions>http-transaction"`
	References       []*Reference       `xml:"references>reference"`
}

type W3af

type W3af struct {
}

func NewW3af

func NewW3af() *W3af

func (*W3af) Handle

func (s *W3af) Handle(ctx context.Context, client script.ClientV1, conf *plan.Conf) error

type XmlReport

type XmlReport struct {
	Vulnerabilities []*Vulnerability `xml:"vulnerability"`
	Errors          []*Error         `xml:"error"`
}

Jump to

Keyboard shortcuts

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