We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0da04dd commit 743076aCopy full SHA for 743076a
1 file changed
nxc/protocols/smb.py
@@ -241,7 +241,7 @@ def enum_host_info(self):
241
self.hostname = self.host
242
self.targetDomain = self.host
243
244
- self.domain = self.targetDomain if not self.args.domain else self.args.domain
+ self.domain = self.targetDomain if self.args.domain is None else self.args.domain
245
246
if self.args.local_auth:
247
self.domain = self.hostname
0 commit comments