poc

package
v0.0.0-...-d110d36 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() map[string]PoC

Init PoC

Types

type DrupalRCE

type DrupalRCE struct {
	Exploitable bool
	// contains filtered or unexported fields
}

DrupalRCE - CVE-2018-7600

func NewDrupalRCE

func NewDrupalRCE() *DrupalRCE

NewDrupalRCE .

func (*DrupalRCE) Info

func (d *DrupalRCE) Info() Intro

Info implements PoC interface.

func (*DrupalRCE) Report

func (d *DrupalRCE) Report() map[string]interface{}

Report implements PoC interface. For batch scan.

func (*DrupalRCE) Run

func (d *DrupalRCE) Run()

Run implements PoC interface.

func (*DrupalRCE) Set

func (d *DrupalRCE) Set(v ...interface{})

Set implements PoC interface. Params should be {target string}

type Intro

type Intro struct {
	// CVE ID
	ID string `json:"id"`
	// RCE or SQLi or ...
	Type string `json:"type"`
	// Breif Intro
	Text string `json:"text"`
	// php or python or ...
	Platform string `json:"platform"`
	// 2016-03-11
	Date string `json:"date"`
	// http://....
	Reference string `json:"reference"`
}

Intro is a brief intro of the PoC.

type PoC

type PoC interface {
	Info() Intro
	Set(...interface{})
	Run()
	Report() map[string]interface{}
}

PoC needs to implements: Info() -> return brief introduction Set() -> set params Run -> run the poc Report -> return result

type SeaCMSv654

type SeaCMSv654 struct {
	Exploitable bool
	// contains filtered or unexported fields
}

SeaCMSv654 search.php code injection.

func NewSeaCMSv654

func NewSeaCMSv654() *SeaCMSv654

NewSeaCMSv654 .

func (*SeaCMSv654) Info

func (s *SeaCMSv654) Info() Intro

Info implements PoC interface.

func (*SeaCMSv654) Report

func (s *SeaCMSv654) Report() map[string]interface{}

Report implements PoC interface.

func (*SeaCMSv654) Run

func (s *SeaCMSv654) Run()

Run implements PoC interface.

func (*SeaCMSv654) Set

func (s *SeaCMSv654) Set(v ...interface{})

Set implements PoC interface. Params should be {target string}

type YaHeiPHPXSS

type YaHeiPHPXSS struct {
	Exploitable bool
	// contains filtered or unexported fields
}

YaHeiPHPXSS is yahei php prober v0.4.7 xss, CVE-2018-9238.

func NewYaHeiPHPXSS

func NewYaHeiPHPXSS() *YaHeiPHPXSS

NewYaHeiPHPXSS returns a new YaHeiPHP XSS checker.

func (*YaHeiPHPXSS) Info

func (y *YaHeiPHPXSS) Info() Intro

Info implements PoC interface.

func (*YaHeiPHPXSS) Report

func (y *YaHeiPHPXSS) Report() map[string]interface{}

Report implements PoC interface. For batch scan.

func (*YaHeiPHPXSS) Run

func (y *YaHeiPHPXSS) Run()

Run implements PoC interface.

func (*YaHeiPHPXSS) Set

func (y *YaHeiPHPXSS) Set(v ...interface{})

Set implements PoC interface. Params should be {target string}

Jump to

Keyboard shortcuts

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