Skip to content

Commit f34c120

Browse files
committed
Set domain_sid to None if no or NULL SID was found
1 parent 1193750 commit f34c120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enum4linux-ng.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ def set_enumerated_input(self, enum_input):
14981498
if "domain_sid" in enum_input and enum_input["domain_sid"] and "NULL SID" not in enum_input["domain_sid"]:
14991499
self.enumerated_input["domain_sid"] = enum_input["domain_sid"]
15001500
else:
1501-
self.enumerated_input["domain_sid"] = ""
1501+
self.enumerated_input["domain_sid"] = None
15021502

15031503
class RidCycling():
15041504
def __init__(self, cycle_params, target, creds, detailed):

0 commit comments

Comments
 (0)