scans

package
v0.0.0-...-7068ce8 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2016 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApacheModStatus

func ApacheModStatus(scan Scanner, page string, status int, contents string, report *report.OnionScanReport, osc *config.OnionscanConfig)

func CheckDirectoryListing

func CheckDirectoryListing(depth int) func(Scanner, string, int, string, *report.OnionScanReport, *config.OnionscanConfig)

func CheckDirectoryListingDepth

func CheckDirectoryListingDepth(scan Scanner, dir string, status int, depth int, contents string, report *report.OnionScanReport, osc *config.OnionscanConfig)

func CheckExif

func CheckExif(scan Scanner, page string, status int, contents string, report *report.OnionScanReport, osc *config.OnionscanConfig)

func PrivateKeyScan

func PrivateKeyScan(scan Scanner, page string, status int, contents string, report *report.OnionScanReport, osc *config.OnionscanConfig)

func StandardPageScan

func StandardPageScan(scan Scanner, page string, status int, contents string, report *report.OnionScanReport, osc *config.OnionscanConfig)

Types

type BitcoinContentScan

type BitcoinContentScan struct {
}

func (*BitcoinContentScan) ScanContent

func (cs *BitcoinContentScan) ScanContent(content string, report *report.OnionScanReport)

type ContentScan

type ContentScan interface {
	ScanContent(content string, report *report.OnionScanReport)
}

type PGPContentScan

type PGPContentScan struct {
}

func (*PGPContentScan) ScanContent

func (cs *PGPContentScan) ScanContent(content string, report *report.OnionScanReport)

type Scanner

type Scanner interface {
	ScanPage(string, string, *report.OnionScanReport, *config.OnionscanConfig, func(Scanner, string, int, string, *report.OnionScanReport, *config.OnionscanConfig))
	ScrapePage(string, string) (error, []byte, int)
}

Jump to

Keyboard shortcuts

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