core

package
v0.0.0-...-d9c3df7 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReq

func GetReq() map[string]string

GetReq get request

func ShowBanner

func ShowBanner()

func Start

func Start(u string, hashmap map[string]interface{}, i int, c chan int)

func Start2

func Start2(u string, hashmap map[string]interface{})

Types

type Options

type Options struct {
	// 日志级别
	Mode int
	// file to read
	File string
	// 传入的url
	Url string
	// 设置超时时间
	Timeout int

	// 代理设置
	Proxy string

	// 版本号
	Version bool
	// 是否输出详细信息
	Verbose bool
	// 线程数量
	Thread int
	// 日志输出文件
	LogFile string
	// 重复请求次数
	Retry int

	// 保存结果
	Out string

	// pocs 选择特定的poc
	Pocs string
	// ip 段
	IP string
	// show pocs list
	SP bool

	// 是否进入交互shell
	Shell bool
	// 强制开启HTTP 1.1
	H1 bool
	// 更新到最新版本
	Update bool
	// 重定向
	Redirect bool
}

func ParseOptions

func ParseOptions() *Options

type Runner

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

func NewRunner

func NewRunner(options *Options) (*Runner, error)

func (*Runner) Run

func (r *Runner) Run()

Jump to

Keyboard shortcuts

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