Documentation ¶
Index ¶
- Constants
- func Ansiimg_main(filename string, output string, width uint, height uint)
- func Ansivid_py_main(filename string, strat string, install bool)
- func AskInput() string
- func AskUserQuestions()
- func B16(input string, eod bool) string
- func B32(input string, eod bool) string
- func B64(input string, eod bool) string
- func Base_main_string(input string, eod bool, base int) string
- func Bua_decode(inFile string, outDir string)
- func Bua_decode_bzip2(inFile string, outDir string, mute bool)
- func Bua_encode(inFile string, outFile string)
- func Bua_encode_bzip2(inFile string, outFile string, mute bool)
- func Bua_main(inFile string, outFile string, encode bool, b2 bool, mute bool)
- func Chacha_main(password string, decrypt bool, file string, outFile string)
- func CheckConfigFileExists() bool
- func CheckIfError(err error)
- func Donut_main(spinSpeed float64, isRainbow bool, trueColor bool)
- func FileSize(filePath string) int64
- func Fileinaudio_main(inFile string, outFile string, decode bool, noCompress bool)
- func Fileinimage_main(inFile string, outFile string, decode bool, noCompress bool)
- func GenerateDefaultConfig()
- func GetOptionFromConfig(optionName string) (string, error)
- func Greet() string
- func Hex_main()
- func Hf_main()
- func PlayAudioLoop(ctx context.Context, audioFile string)
- func PlayAudioMult(ctx context.Context, audioFiles string)
- func RandomCatFact() string
- func RandomString(userAgentList []string) string
- func Scrape_main(domain string, outputFile string, allowedDomains string, template string)
- func SubD_main(threads int, domain string)
- func Upd_main(binary bool, allow_win bool)
- func Upd_main_binary()
- func Upd_main_source(allow_win bool)
- func YNtoBool(input string) bool
Constants ¶
const ColorBlack = "\033[0;30m"
const ColorBlackBackground = "\033[40m"
Background
const ColorBlackBackgroundHighIntensity = "\033[0;100m"
High Intensity backgrounds
const ColorBlackBold = "\033[1;30m"
Bold
const ColorBlackBoldHighIntensity = "\033[1;90m"
Bold High Intensity
const ColorBlackHighIntensity = "\033[0;90m"
High Intensity
const ColorBlackUnderline = "\033[4;30m"
Underline
const ColorBlue = "\033[0;34m"
const ColorBlueBackground = "\033[44m"
const ColorBlueBackgroundHighIntensity = "\033[0;104m"
const ColorBlueBold = "\033[1;34m"
const ColorBlueBoldHighIntensity = "\033[1;94m"
const ColorBlueHighIntensity = "\033[0;94m"
const ColorBlueUnderline = "\033[4;34m"
const ColorCyan = "\033[36m"
const ColorCyanBackground = "\033[46m"
const ColorCyanBackgroundHighIntensity = "\033[0;106m"
const ColorCyanBold = "\033[1;36m"
const ColorCyanBoldHighIntensity = "\033[1;96m"
const ColorCyanHighIntensity = "\033[0;96m"
const ColorCyanUnderline = "\033[4;36m"
const ColorGreen = "\033[0;32m"
const ColorGreenBackground = "\033[42m"
const ColorGreenBackgroundHighIntensity = "\033[0;102m"
const ColorGreenBold = "\033[1;32m"
const ColorGreenBoldHighIntensity = "\033[1;92m"
const ColorGreenHighIntensity = "\033[0;92m"
const ColorGreenUnderline = "\033[4;32m"
const ColorNone = "\033[0m"
const ColorPurple = "\033[0;35m"
const ColorPurpleBackground = "\033[45m"
const ColorPurpleBackgroundHighIntensity = "\033[0;105m"
const ColorPurpleBold = "\033[1;35m"
const ColorPurpleBoldHighIntensity = "\033[1;95m"
const ColorPurpleHighIntensity = "\033[0;95m"
const ColorPurpleUnderline = "\033[4;35m"
const ColorRed = "\033[0;31m"
Regular
const ColorRedBackground = "\033[41m"
const ColorRedBackgroundHighIntensity = "\033[0;101m"
const ColorRedBold = "\033[1;31m"
const ColorRedBoldHighIntensity = "\033[1;91m"
const ColorRedHighIntensity = "\033[0;91m"
const ColorRedUnderline = "\033[4;31m"
const ColorReset = ColorNone
const ColorWhite = "\033[0;37m"
const ColorWhiteBackground = "\033[47m"
const ColorWhiteBackgroundHighIntensity = "\033[0;107m"
const ColorWhiteBold = "\033[1;37m"
const ColorWhiteBoldHighIntensity = "\033[1;97m"
const ColorWhiteHighIntensity = "\033[0;97m"
const ColorWhiteUnderline = "\033[4;37m"
const ColorYellow = "\033[0;33m"
const ColorYellowBackground = "\033[43m"
const ColorYellowBackgroundHighIntensity = "\033[0;103m"
const ColorYellowBold = "\033[1;33m"
const ColorYellowBoldHighIntensity = "\033[1;93m"
const ColorYellowHighIntensity = "\033[0;93m"
const ColorYellowUnderline = "\033[4;33m"
Variables ¶
This section is empty.
Functions ¶
func Ansivid_py_main ¶
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 ¶
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 ¶
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 ¶
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 ¶
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_bzip2 ¶
func Bua_encode ¶
func Bua_encode_bzip2 ¶
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 Fileinaudio_main ¶
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 GenerateDefaultConfig ¶
func GenerateDefaultConfig()
GenerateDefaultConfig generates the default configuration.
No parameters. No return type.
func GetOptionFromConfig ¶
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 PlayAudioLoop ¶
func PlayAudioMult ¶
func RandomCatFact ¶
func RandomCatFact() string
func RandomString ¶
func Scrape_main ¶
func SubD_main ¶
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_binary ¶
func Upd_main_binary()
func Upd_main_source ¶
func Upd_main_source(allow_win bool)
func YNtoBool ¶
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.