From fedbfaf1f57c149aa1bb21f458940037d3bc0883 Mon Sep 17 00:00:00 2001 From: mpgn Date: Thu, 27 Oct 2022 15:40:34 -0400 Subject: [PATCH] Change default order of exec method for smb --- cme/protocols/smb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cme/protocols/smb.py b/cme/protocols/smb.py index 1f25cf30..2f235473 100755 --- a/cme/protocols/smb.py +++ b/cme/protocols/smb.py @@ -544,7 +544,7 @@ class smb(connection): def execute(self, payload=None, get_output=False, methods=None): if self.args.exec_method: methods = [self.args.exec_method] - if not methods : methods = ['wmiexec', 'mmcexec', 'atexec', 'smbexec'] + if not methods : methods = ['wmiexec', 'smbexec', 'mmcexec', 'atexec'] if not payload and self.args.execute: payload = self.args.execute