From 4a996b549448cfa839c78605ded7262da3438f5e Mon Sep 17 00:00:00 2001 From: moloch-- <875022+moloch--@users.noreply.github.com> Date: Wed, 4 Jan 2023 09:04:36 -0800 Subject: [PATCH] Fix issue #1055 and #1054 --- client/command/commands.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/command/commands.go b/client/command/commands.go index 40b9abd342..b1b92798ce 100644 --- a/client/command/commands.go +++ b/client/command/commands.go @@ -1328,6 +1328,7 @@ func BindCommands(con *console.SliverConsoleClient) { f.Bool("l", "skip-symbols", false, "skip symbol obfuscation") f.String("I", "template", "sliver", "implant code template") f.Bool("E", "external-builder", false, "use an external builder") + f.Bool("G", "disable-sgn", false, "disable shikata ga nai shellcode encoder") f.String("c", "canary", "", "canary domain(s)") @@ -1541,6 +1542,7 @@ func BindCommands(con *console.SliverConsoleClient) { f.Bool("d", "debug", false, "enable debug features") f.Bool("e", "evasion", false, "enable evasion features") f.Bool("l", "skip-symbols", false, "skip symbol obfuscation") + f.Bool("G", "disable-sgn", false, "disable shikata ga nai shellcode encoder") f.String("c", "canary", "", "canary domain(s)") @@ -1599,6 +1601,7 @@ func BindCommands(con *console.SliverConsoleClient) { f.Int64("M", "minutes", 0, "beacon interval minutes") f.Int64("S", "seconds", 60, "beacon interval seconds") f.Int64("J", "jitter", 30, "beacon interval jitter in seconds") + f.Bool("G", "disable-sgn", false, "disable shikata ga nai shellcode encoder") // Generate flags f.String("o", "os", "windows", "operating system")