cmd

package
v0.0.0-...-7a1a4d6 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Scan = cli.Command{
	Name:   "crack",
	Usage:  "./tkscan-cracker crack -i targets_list.txt -u username_dict.txt -p password_list.txt -t 5 -c 50 -d true -o crack_result.txt",
	Action: utils.Scan,

	Flags: []cli.Flag{
		boolFlag("debug_model, d", "-d true"),
		intFlag("timeout, t", 5, "-t 5"),
		intFlag("concurrency, c", 50, "-c 50"),
		stringFlag("targets_list, i", "targets_list.txt", "-i targets_list.txt"),
		stringFlag("username_dict, u", "username_dict.txt", "-u username_dict.txt"),
		stringFlag("password_list, p", "password_dict.txt", "-p password_list.txt"),
		stringFlag("crack_result, o", "crack_result.txt", "-o crack_result.txt"),
	},
}

根据预设的命令行参数,定义相应的 cli.Command 对象

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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