gatherer

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() map[string]Gatherer

Init Gatherers.

Types

type BasicInfo

type BasicInfo struct {
	IPAddr                  string
	WebServer               string
	ClickJackingProtection  bool
	ContentSecurityPolicy   bool
	XContentTypeOptions     bool
	StrictTransportSecurity bool
	// contains filtered or unexported fields
}

BasicInfo gathers basic information of the target. AJAX API.

func NewBasicInfo

func NewBasicInfo() *BasicInfo

NewBasicInfo returns a basicInfo gatherer.

func (*BasicInfo) Report

func (bi *BasicInfo) Report() map[string]interface{}

Report implements Gatherer interface

func (*BasicInfo) Run

func (bi *BasicInfo) Run()

Run implements the Gatherer interface.

func (*BasicInfo) Set

func (bi *BasicInfo) Set(v ...interface{})

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

type CFBypass

type CFBypass struct {
	RealIP string
	// contains filtered or unexported fields
}

CFBypass finds the real IP behind cloudflare. AJAX API

func NewCFBypass

func NewCFBypass() *CFBypass

NewCFBypass returns a new CFBypass

func (*CFBypass) Report

func (cf *CFBypass) Report() map[string]interface{}

Report implements Gatherer interface

func (*CFBypass) Run

func (cf *CFBypass) Run()

Run implements Gatherer interaface.

func (*CFBypass) Set

func (cf *CFBypass) Set(v ...interface{})

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

type CMSDetector

type CMSDetector struct {
	CMS string
	// contains filtered or unexported fields
}

CMSDetector detects CMS with whatcms.org api. AJAX API.

func NewCMSDetector

func NewCMSDetector() *CMSDetector

NewCMSDetector returns a new CMS detector.

func (*CMSDetector) Report

func (c *CMSDetector) Report() map[string]interface{}

Report implements Gatherer interface

func (*CMSDetector) Run

func (c *CMSDetector) Run()

Run impplements Gatherer interface.

func (*CMSDetector) Set

func (c *CMSDetector) Set(v ...interface{})

Set implements Gatherer interface. Params should be {conn *websocket.Conn, target string}

type DirBruter

type DirBruter struct {
	// contains filtered or unexported fields
}

DirBruter brute force the dir. WebSocket API.

func NewDirBruter

func NewDirBruter() *DirBruter

NewDirBruter returns a new dirbruter.

func (*DirBruter) Report

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

Report implements Gatherer interface.

func (*DirBruter) Run

func (d *DirBruter) Run()

Run implements Gatherer interface,

func (*DirBruter) Set

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

Set implements Gatherer interface. Params should be {conn *websocket.Conn, target, dic string, concurrency int}

type Gatherer

type Gatherer interface {
	Set(...interface{})
	Run()
	Report() map[string]interface{}
}

Gatherer should implement ...

type Honeypot

type Honeypot struct {
	Score string
	// contains filtered or unexported fields
}

Honeypot detects honeypot score of the target. AJAX API.

func NewHoneypotDetecter

func NewHoneypotDetecter() *Honeypot

NewHoneypotDetecter returns a new honeypot detecter.

func (*Honeypot) Report

func (h *Honeypot) Report() map[string]interface{}

Report implements Gatherer interface.

func (*Honeypot) Run

func (h *Honeypot) Run()

Run implements Gatherer interface.

func (*Honeypot) Set

func (h *Honeypot) Set(v ...interface{})

Set implements Gatherer interface. Params should be {targetIP string}

type PortScanner

type PortScanner struct {
	OpenPorts []string
	// contains filtered or unexported fields
}

PortScanner scans common used ports. WebSocket API.

func NewPortScanner

func NewPortScanner() *PortScanner

NewPortScanner returns a PortScanner.

func (*PortScanner) Report

func (ps *PortScanner) Report() map[string]interface{}

Report implements Gatherer interface

func (*PortScanner) Run

func (ps *PortScanner) Run()

Run implements the Gatherer interface.

func (*PortScanner) Set

func (ps *PortScanner) Set(v ...interface{})

Set implements Gatherer interface. Params should be {conn *websocket.Conn, target, method string}

type Result

type Result struct {
	// contains filtered or unexported fields
}

Result to show what we've found

type SubDomainScan

type SubDomainScan struct {
	Subdomains []string
	// contains filtered or unexported fields
}

SubDomainScan brute force the dir. WebSocker API.

func NewSubDomainScan

func NewSubDomainScan() *SubDomainScan

NewSubDomainScan returns a new SubDomainScan.

func (*SubDomainScan) DoRequest

func (s *SubDomainScan) DoRequest(sub string) interface{}

DoRequest actually handles the DNS lookups

func (*SubDomainScan) OnResult

func (s *SubDomainScan) OnResult(res interface{})

OnResult prints out the results of a lookup

func (*SubDomainScan) Report

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

Report implements Gatherer interface.

func (*SubDomainScan) Run

func (s *SubDomainScan) Run()

Run implements Gatherer interface,

func (*SubDomainScan) Set

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

Set implements Gatherer interface. Params should be {conn *websocket.Conn, target, concurrency int}

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

Tracer trace route to the target. WebSocket API.

func NewTracer

func NewTracer() *Tracer

NewTracer returns a new route tracer.

func (*Tracer) Report

func (t *Tracer) Report() map[string]interface{}

Report implements Gatherer interface.

func (*Tracer) Run

func (t *Tracer) Run()

Run implements Gatherer interface.

func (*Tracer) Set

func (t *Tracer) Set(v ...interface{})

Set implements Gatherer interface. Params should be {conn *websocket.Conn, target string}

type Whois

type Whois struct {
	// contains filtered or unexported fields
}

Whois queries the domain information.

func NewWhois

func NewWhois() *Whois

NewWhois returns a new Whois.

func (*Whois) Report

func (w *Whois) Report() map[string]interface{}

Report implements Gatherer interface.

func (*Whois) Run

func (w *Whois) Run()

Run implements Gatherer interface.

func (*Whois) Set

func (w *Whois) Set(v ...interface{})

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

Jump to

Keyboard shortcuts

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