core

package
v2.8.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LinuxDefaultThreads        = 4000
	WindowsDefaultThreads      = 1000
	DefaultIpProbe             = "1,254"
	DefaultSmartPortProbe      = "80"
	DefaultSuperSmartPortProbe = "icmp"
)

Variables

View Source
var Opt = Options{
	AliveSum: 0,
	Noscan:   false,
}

Functions

func AliveMod

func AliveMod(targets interface{}, config Config)
func Banner()

func DefaultMod

func DefaultMod(targets interface{}, config Config)

直接扫描

func FormatOutput

func FormatOutput(filename string, outfilename, outf, filenamef string, filters []string)

func InitConfig

func InitConfig(config *Config) (*Config, error)

func LoadFile

func LoadFile(file *os.File) []byte

func NewTargetGenerator

func NewTargetGenerator(config Config) *targetGenerator

func PrintExtract

func PrintExtract()

func PrintNucleiPoc

func PrintNucleiPoc()

func PrintWorkflow

func PrintWorkflow()

func Printportconfig

func Printportconfig()

func RunTask

func RunTask(config Config)

func SmartMod

func SmartMod(target *ipcs.CIDR, config Config)

Types

type IpGenerator

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

func NewIpGenerator

func NewIpGenerator(config Config) *IpGenerator

type Options

type Options struct {
	AliveSum    int
	Noscan      bool
	PluginDebug bool
}

Jump to

Keyboard shortcuts

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