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

Commit

Permalink
Merge pull request #300 from hantwister/patch-1
Browse files Browse the repository at this point in the history
Fix false positive signing disabled with SMB2/3
  • Loading branch information
byt3bl33d3r authored Apr 19, 2020
2 parents 02a62b0 + 85e4de9 commit 7bb0e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cme/protocols/smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def enum_host_info(self):
self.domain = self.conn.getServerDomain()
self.hostname = self.conn.getServerName()
self.server_os = self.conn.getServerOS()
self.signing = self.conn.isSigningRequired()
self.signing = self.conn.isSigningRequired() if self.smbv1 else self.conn._SMBConnection._Connection['RequireSigning']
self.os_arch = self.get_os_arch()

self.output_filename = os.path.expanduser('~/.cme/logs/{}_{}_{}'.format(self.hostname, self.host, datetime.now().strftime("%Y-%m-%d_%H%M%S")))
Expand Down

0 comments on commit 7bb0e4e

Please sign in to comment.