Change default order of exec method for smb

main
mpgn 2022-10-27 15:40:34 -04:00
parent abc288234b
commit fedbfaf1f5
1 changed files with 1 additions and 1 deletions

View File

@ -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