modules

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 55 Imported by: 0

Documentation

Index

Constants

View Source
const ColorBlack = "\033[0;30m"
View Source
const ColorBlackBackground = "\033[40m"

Background

View Source
const ColorBlackBackgroundHighIntensity = "\033[0;100m"

High Intensity backgrounds

View Source
const ColorBlackBold = "\033[1;30m"

Bold

View Source
const ColorBlackBoldHighIntensity = "\033[1;90m"

Bold High Intensity

View Source
const ColorBlackHighIntensity = "\033[0;90m"

High Intensity

View Source
const ColorBlackUnderline = "\033[4;30m"

Underline

View Source
const ColorBlue = "\033[0;34m"
View Source
const ColorBlueBackground = "\033[44m"
View Source
const ColorBlueBackgroundHighIntensity = "\033[0;104m"
View Source
const ColorBlueBold = "\033[1;34m"
View Source
const ColorBlueBoldHighIntensity = "\033[1;94m"
View Source
const ColorBlueHighIntensity = "\033[0;94m"
View Source
const ColorBlueUnderline = "\033[4;34m"
View Source
const ColorCyan = "\033[36m"
View Source
const ColorCyanBackground = "\033[46m"
View Source
const ColorCyanBackgroundHighIntensity = "\033[0;106m"
View Source
const ColorCyanBold = "\033[1;36m"
View Source
const ColorCyanBoldHighIntensity = "\033[1;96m"
View Source
const ColorCyanHighIntensity = "\033[0;96m"
View Source
const ColorCyanUnderline = "\033[4;36m"
View Source
const ColorGreen = "\033[0;32m"
View Source
const ColorGreenBackground = "\033[42m"
View Source
const ColorGreenBackgroundHighIntensity = "\033[0;102m"
View Source
const ColorGreenBold = "\033[1;32m"
View Source
const ColorGreenBoldHighIntensity = "\033[1;92m"
View Source
const ColorGreenHighIntensity = "\033[0;92m"
View Source
const ColorGreenUnderline = "\033[4;32m"
View Source
const ColorNone = "\033[0m"
View Source
const ColorPurple = "\033[0;35m"
View Source
const ColorPurpleBackground = "\033[45m"
View Source
const ColorPurpleBackgroundHighIntensity = "\033[0;105m"
View Source
const ColorPurpleBold = "\033[1;35m"
View Source
const ColorPurpleBoldHighIntensity = "\033[1;95m"
View Source
const ColorPurpleHighIntensity = "\033[0;95m"
View Source
const ColorPurpleUnderline = "\033[4;35m"
View Source
const ColorRed = "\033[0;31m"

Regular

View Source
const ColorRedBackground = "\033[41m"
View Source
const ColorRedBackgroundHighIntensity = "\033[0;101m"
View Source
const ColorRedBold = "\033[1;31m"
View Source
const ColorRedBoldHighIntensity = "\033[1;91m"
View Source
const ColorRedHighIntensity = "\033[0;91m"
View Source
const ColorRedUnderline = "\033[4;31m"
View Source
const ColorReset = ColorNone
View Source
const ColorWhite = "\033[0;37m"
View Source
const ColorWhiteBackground = "\033[47m"
View Source
const ColorWhiteBackgroundHighIntensity = "\033[0;107m"
View Source
const ColorWhiteBold = "\033[1;37m"
View Source
const ColorWhiteBoldHighIntensity = "\033[1;97m"
View Source
const ColorWhiteHighIntensity = "\033[0;97m"
View Source
const ColorWhiteUnderline = "\033[4;37m"
View Source
const ColorYellow = "\033[0;33m"
View Source
const ColorYellowBackground = "\033[43m"
View Source
const ColorYellowBackgroundHighIntensity = "\033[0;103m"
View Source
const ColorYellowBold = "\033[1;33m"
View Source
const ColorYellowBoldHighIntensity = "\033[1;93m"
View Source
const ColorYellowHighIntensity = "\033[0;93m"
View Source
const ColorYellowUnderline = "\033[4;33m"

Variables

This section is empty.

Functions

func Ansiimg_main

func Ansiimg_main(filename string, output string, width uint, height uint)

func Ansivid_py_main

func Ansivid_py_main(filename string, strat string, install bool)

func AskInput

func AskInput() string

AskInput prompts the user for input from the command line.

It reads input from the standard input using bufio.NewReader and os.Stdin. If there is an error reading the input, it prints an error message.

It trims the newline character at the end of the input string using strings.TrimSpace.

It returns the input as a string.

func AskUserQuestions

func AskUserQuestions()

AskUserQuestions prompts the user to answer a series of questions and saves the answers to a JSON file.

No parameters. No return type.

func B16

func B16(input string, eod bool) string

B16 encodes or decodes a string using the base 16 (hexadecimal) encoding.

It takes two parameters: - input: the string to be encoded or decoded. - eod: a boolean flag indicating whether to encode or decode the input.

If eod is true, the function will encode the input using hexadecimal encoding and return the encoded string. If eod is false, the function will decode the input using hexadecimal encoding and return the decoded string. If an error occurs during decoding, the function will return the original input string.

The function returns a string representing the encoded or decoded result.

func B32

func B32(input string, eod bool) string

B32 encodes or decodes a string using base32 encoding.

The function takes two parameters: - input: the string to be encoded or decoded. - eod: a boolean flag indicating whether to encode or decode.

The function returns a string.

func B64

func B64(input string, eod bool) string

B64 encodes or decodes a given input string using base64 encoding.

Parameters:

  • input: The string to be encoded or decoded.
  • eod: A boolean indicating whether to encode or decode the input string. If true, the input string will be encoded. If false, the input string will be decoded.

Returns: - The encoded or decoded string, depending on the value of the 'eod' parameter. - If an error occurs during decoding, the original input string is returned. - If an error occurs during encoding or decoding, an error message is returned.

func Base_main_string

func Base_main_string(input string, eod bool, base int) string

Base_main_string takes an input string, a boolean value saying if the input should be encoded or decoded. The boolean should be true if it should be encoded and false if it should be decoded. It returns the encoded or decoded string.

func Bua_decode

func Bua_decode(inFile string, outDir string)

func Bua_decode_bzip2

func Bua_decode_bzip2(inFile string, outDir string, mute bool)

func Bua_encode

func Bua_encode(inFile string, outFile string)

func Bua_encode_bzip2

func Bua_encode_bzip2(inFile string, outFile string, mute bool)

func Bua_main

func Bua_main(inFile string, outFile string, encode bool, b2 bool, mute bool)

func Chacha_main

func Chacha_main(password string, decrypt bool, file string, outFile string)

func CheckConfigFileExists

func CheckConfigFileExists() bool

CheckConfigFileExists checks if the configuration file exists.

It does not take any parameters. It returns a boolean value indicating if the configuration file exists or not.

func CheckIfError

func CheckIfError(err error)

func Donut_main

func Donut_main(spinSpeed float64, isRainbow bool, trueColor bool)

func FileSize

func FileSize(filePath string) int64

func Fileinaudio_main

func Fileinaudio_main(inFile string, outFile string, decode bool, noCompress bool)

Fileinaudio_main is the main function that handles the file in audio conversion.

inFile: the input file path. outFile: the output file path. decode: a boolean flag indicating whether to decode the audio file. noCompress: a boolean flag indicating whether to compress the audio file. This function does not return anything.

func Fileinimage_main

func Fileinimage_main(inFile string, outFile string, decode bool, noCompress bool)

func GenerateDefaultConfig

func GenerateDefaultConfig()

GenerateDefaultConfig generates the default configuration.

No parameters. No return type.

func GetOptionFromConfig

func GetOptionFromConfig(optionName string) (string, error)

GetOptionFromConfig retrieves the value of the specified option from the configuration file.

Parameters: - optionName: the name of the option to retrieve from the configuration file (type: string)

Returns: - string: the value of the specified option (or an empty string if the option is not found) - error: an error if there was a problem reading the configuration file or parsing its contents

func Greet

func Greet() string

Greet returns a string greeting based on the current time.

It does not take any parameters. It returns a string.

func Hex_main

func Hex_main()

func Hf_main

func Hf_main()

func PlayAudioLoop

func PlayAudioLoop(ctx context.Context, audioFile string)

func PlayAudioMult

func PlayAudioMult(ctx context.Context, audioFiles string)

func RandomCatFact

func RandomCatFact() string

func RandomString

func RandomString(userAgentList []string) string

func Scrape_main

func Scrape_main(domain string, outputFile string, allowedDomains string, template string)

func SubD_main

func SubD_main(threads int, domain string)

SubD_main is the main function for subdomain scanning.

It prompts the user for a domain to scan, asks for user input to disable the progress bar, reads a list of subdomains from a file, and performs DNS lookups for each subdomain. It prints out the subdomains with A or AAAA records and their corresponding CNAME records. Finally, it prints out the list of found subdomains.

func Upd_main

func Upd_main(binary bool, allow_win bool)

func Upd_main_binary

func Upd_main_binary()

func Upd_main_source

func Upd_main_source(allow_win bool)

func YNtoBool

func YNtoBool(input string) bool

YNtoBool converts a string to a boolean value.

It takes a string as input and returns a boolean value. The function converts the input string to lowercase and checks if it is equal to "y", "yes", or "true". If any of these conditions are true, the function returns true; otherwise, it returns false.

Types

This section is empty.

Directories

Path Synopsis
art

Jump to

Keyboard shortcuts

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