package
1.30.1
Repository: https://github.com/vulncheck-oss/go-exploit.git
Documentation: pkg.go.dev

# Functions

PrintDebug logs a string as TRACE If the exploit is not logging to file, this will go to standard error.
PrintError logs a string as ERROR If the exploit is not logging to file, this will go to standard error.
PrintfDebug formats according to a format specifier and logs as DEBUG If the exploit is not logging to file, this will go to standard error.
PrintfError formats according to a format specifier and logs as ERROR If the exploit is not logging to file, this will go to standard error.
PrintfFrameworkDebug formats according to a format specifier and logs as DEBUG If the framework is not logging to file, this will go to standard error.
PrintfFrameworkError formats according to a format specifier and logs as ERROR If the framework is not logging to file, this will go to standard error.
PrintfFrameworkStatus formats according to a format specifier and logs as STATUS (aka INFO) If the framework is not logging to file, this will go to standard out.
PrintfFrameworkSuccess formats according to a format specifier and logs as SUCCESS If the framework is not logging to file, this will go to standard out.
PrintfFrameworkTrace formats according to a format specifier and logs as TRACE If the framework is not logging to file, this will go to standard error.
PrintfFrameworkWarn formats according to a format specifier and logs as WARN If the framework is not logging to file, this will go to standard error.
PrintFrameworkDebug logs a string as TRACE If the framework is not logging to file, this will go to standard error.
PrintFrameworkError logs a string as ERROR If the framework is not logging to file, this will go to standard error.
PrintFrameworkStatus logs a string as STATUS (aka INFO) If the framework is not logging to file, this will go to standard out.
PrintFrameworkSuccess logs a string as SUCCESS If the framework is not logging to file, this will go to standard out.
PrintFrameworkTrace logs a string as TRACE If the framework is not logging to file, this will go to standard error.
PrintFrameworkWarn logs a string as WARN If the framework is not logging to file, this will go to standard error.
PrintfStatus formats according to a format specifier and logs as STATUS (aka INFO) If the exploit is not logging to file, this will go to standard out.
PrintfSuccess formats according to a format specifier and logs as SUCCESS If the exploit is not logging to file, this will go to standard out.
PrintfTrace formats according to a format specifier and logs as TRACE If the exploit is not logging to file, this will go to standard error.
PrintfWarn formats according to a format specifier and logs as WARN If the exploit is not logging to file, this will go to standard error.
Displaying content on our fake shell.
PrintStatus logs a string as STATUS (aka INFO) If the exploit is not logging to file, this will go to standard out.
PrintStatus logs a string as SUCCESS If the exploit is not logging to file, this will go to standard out.
PrintTrace logs a string as TRACE If the exploit is not logging to file, this will go to standard error.
PrintVersion logs a string as VERSION If the exploit is not logging to file, this will go to standard output.
PrintWarn logs a string as WARN If the exploit is not logging to file, this will go to standard error.
Sets the log level for exploit logging.
Sets the log level for framework logging.
If logging to a file, function will create/append the file and assign the file as output for all log types.

# Constants

Useful tidbits for debugging potential problems.
An important error message.
A hihg-level status updat.
An important status message.
Extreme debugging that shows executions.
A special message for outputing software versions.
A non-critical issue that is bubbled up to the user.

# Variables

FormatJSON indicates if we should use TextHandler or NJSONHandler for logging.
LogLevels is a mapping of the log names to slog level.