lessgo

package
v0.0.0-...-5063546 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner()

func Cautions

func Cautions()

func Checkerr

func Checkerr(err error)

func Color

func Color(clr string, txt string)

func ErrorRaiser

func ErrorRaiser(ErrName NewError)

func RespErrHandle

func RespErrHandle(err error) string

func Version

func Version() string

Types

type Hue

type Hue struct {
	Code string
}
var (
	Red    Hue = Hue{"\033[0;31m"}
	Green  Hue = Hue{"\033[0;32m"}
	Blue   Hue = Hue{"\033[0;34m"}
	Yellow Hue = Hue{"\033[0;33m"}
	Cyan   Hue = Hue{"\033[0;36m"}
	Gray   Hue = Hue{"\033[1;30m"}
	Reset  Hue = Hue{"\033[0m"}
)

type NewError

type NewError struct {
	// contains filtered or unexported fields
}
var FileNotFound NewError = NewError{"File Not Found", "Check the file path", "lessgo -u http://www.example.com/FUZZ -f correct_path.txt", 1001}
var FileNotSelected NewError = NewError{"File Not Selected", "Choose a file by passing the flag [ -f <file name> ]", "lessgo -u http://www.example.com/FUZZ -f wordlist.txt", 1003}
var FuzzableParamNotFound NewError = NewError{"No Fuzzable Parameter Found", "Replace the value that should be fuzzed with the word 'FUZZ'", "lessgo -u http://FUZZ.example.com -subd", 1004}
var UrlDoesNotStartWithHttp NewError = NewError{"Url Selected Does Not Start With http(s)", "Make sure the url starts with http(s)", "lessgo -u http://www.example.com/FUZZ -dirs", 1005}
var UrlNotSelected NewError = NewError{"Url Not Selected", "Choose a url by passing the flag [ -u <url> ]", "lessgo -u http://www.example.com/FUZZ -dirs", 1002}

Jump to

Keyboard shortcuts

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