scans

package
v0.0.0-...-6bad842 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2016 License: MIT Imports: 12 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)

func CheckDirectoryListing

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

func CheckDirectoryListingDepth

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

func CheckExif

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

func StandardPageScan

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

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, func(Scanner, string, int, string, *report.OnionScanReport))
	ScrapePage(string, string) (error, []byte, int)
}

Jump to

Keyboard shortcuts

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