Skip to content

Commit c0e618f

Browse files
committed
1 parent 14c2959 commit c0e618f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def parse_credentials(self):
384384
if isfile(user):
385385
with open(user) as user_file:
386386
for line in user_file:
387-
if "\\" in line:
387+
if "\\" in line and len(line.split("\\")) == 2:
388388
domain_single, username_single = line.split("\\")
389389
else:
390390
domain_single = self.args.domain if hasattr(self.args, "domain") and self.args.domain else self.domain

0 commit comments

Comments
 (0)