core

package
v0.0.0-...-30939ed Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const LogoEncoded = "" /* 320-byte string literal not displayed */

LogoEncoded : base64 encoded logo, ascii art

Variables

View Source
var (
	// IPList : target list
	IPList string
	// Mode : working mode
	Mode string
	// JobCnt : how many tasks per time
	JobCnt int
	// Module : which module to use
	Module string
	// TailArgs : more args in the tail
	TailArgs []string
	// UseProxy : whether use shadowsocks for anonymity or not
	UseProxy bool
	// Filter : the filter to use when parsing masscan xml
	Filter string
	// MasscanXML : specify the source XML for xmir
	MasscanXML string
	// MasscanRange : ip range list for masscan
	MasscanRange string
)

Functions

func ArgParse

func ArgParse()

ArgParse : parse cmd line args for package core

func Config

func Config()

Config : read env vars and configs

func Dispatcher

func Dispatcher()

Dispatcher : read cmdline args and do the job

func PrintBanner

func PrintBanner()

PrintBanner : print mec-ng ascii logo

Types

type Env

type Env struct {
	MecRoot    string
	TargetList string
	WorkDir    string
	TimeStamp  string
	Config     string
}

Env : env vars for mec

var Environ Env

Environ : init env vars

Jump to

Keyboard shortcuts

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