Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit fedbfaf

Browse files
author
mpgn
committed
Change default order of exec method for smb
1 parent abc2882 commit fedbfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cme/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ def gen_relay_list(self):
544544
def execute(self, payload=None, get_output=False, methods=None):
545545

546546
if self.args.exec_method: methods = [self.args.exec_method]
547-
if not methods : methods = ['wmiexec', 'mmcexec', 'atexec', 'smbexec']
547+
if not methods : methods = ['wmiexec', 'smbexec', 'mmcexec', 'atexec']
548548

549549
if not payload and self.args.execute:
550550
payload = self.args.execute

0 commit comments

Comments
 (0)