From 1f21e0698a435d4ae1d411e0a0b90066a0df1f32 Mon Sep 17 00:00:00 2001 From: Nikos Vourdas <32869078+nickvourd@users.noreply.github.com> Date: Tue, 6 Feb 2024 17:43:45 +0200 Subject: [PATCH] Update Supernova.go --- Supernova.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Supernova.go b/Supernova.go index 1e682f9..c1e2d32 100644 --- a/Supernova.go +++ b/Supernova.go @@ -104,16 +104,18 @@ func main() { foundLanguage := Arguments.ValidateArgument("lang", options.language, []string{"Nim", "Rust", "C", "CSharp", "Go", "Python"}) // Check if the encryption or obfuscation option is not used - if options.encryption == "" && options.obfuscation == "" { + if options.encryption == "" { + // && options.obfuscation == "" logger := log.New(os.Stderr, "[!] ", 0) - logger.Fatal("Please choose either the encryption option or the obfuscation option to proceed!\n") + logger.Fatal("Please choose the encryption option to proceed!\n") + // logger.Fatal("Please choose either the encryption option or the obfuscation option to proceed!\n") } // Check if encryption and obfuscation are used together - if options.encryption != "" && options.obfuscation != "" { - logger := log.New(os.Stderr, "[!] ", 0) - logger.Fatal("You cannot choose both the encryption and obfuscation options; please select only one!\n") - } + // if options.encryption != "" && options.obfuscation != "" { + // logger := log.New(os.Stderr, "[!] ", 0) + // logger.Fatal("You cannot choose both the encryption and obfuscation options; please select only one!\n") + //} // Call function named ConvertShellcode2Hex convertedShellcode, payloadLength := Converters.ConvertShellcode2Hex(rawShellcode, foundLanguage)