config

package
v0.0.0-...-b4c4ef8 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Dir_bigger = "dir_bigger.txt" // 15000
	Dict_mini  = "dir_mini.txt"   // 2000
	Dir        = "dir.txt"        // 5000
	Api        = "api/per_root_api.txt"
	File       = "file/per_root_file.txt"
	Rfile      = "file/per_dir_file_replace.txt"
	Asp_dir    = "asp/asp_dir.txt"
	Asp_file   = "asp/asp_file.txt"
	Aspx_dir   = "aspx/aspx_dir.txt"
	Aspx_file  = "aspx/aspx_file.txt"
	Java_dir   = "java/action_dir.txt"
	Java_file  = "java/action_file.txt"
	Jsp_dir    = "jsp/jsp_dir.txt"
	Jsp_file   = "jsp/jsp_file.txt"
	Php_dir    = "php/php_dir.txt"
	Php_file   = "php/php_file.txt"
)
View Source
var DefaultOption = Options{
	TargetUrl: "https://google.com",
	IsDebug:   true,
	TimeOut:   30 * time.Second,
	Threads:   50,
	RetryMax:  5,
}

Functions

func Check

func Check() bool

func DownloadAll

func DownloadAll() (err error)

func DownloadDictFile

func DownloadDictFile() (err error)

func DownloadFinger

func DownloadFinger() (err error)

func SetEnv

func SetEnv(isDebug bool)

Types

type Options

type Options struct {
	TargetUrl      string
	IndexUrl       string
	FaviconUrl     string
	ErrorUrl       string
	OrigProtocol   string
	Urls           []string
	UrlFile        string
	IsDebug        bool
	EnableDirBrute bool
	TimeOut        time.Duration
	Threads        int
	RetryMax       int
	Output         string
	JSONOutput     bool
	Proxy          string
	OutputFile     OutputFile
}

type OutputFile

type OutputFile struct {
	sync.Mutex
	File *os.File
}

Jump to

Keyboard shortcuts

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