File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def detect_if_ip(target):
150150
151151def d2b (a ):
152152 """
153- This function is used to convert password property flags from decimal to binary
153+ Function used to convert password property flags from decimal to binary
154154 format for easier interpretation of individual flag bits.
155155 """
156156 tbin = []
@@ -168,16 +168,16 @@ def d2b(a):
168168def convert (low , high , lockout = False ):
169169 """
170170 Convert Windows FILETIME (64-bit) values to human-readable time strings.
171-
171+
172172 Windows stores time intervals as 64-bit values representing 100-nanosecond
173173 intervals since January 1, 1601. This function converts these values to
174174 readable format like "30 days 5 hours 15 minutes".
175-
175+
176176 Args:
177177 low (int): Low 32 bits of the FILETIME value
178- high (int): High 32 bits of the FILETIME value
178+ high (int): High 32 bits of the FILETIME value
179179 lockout (bool): If True, treats the value as a lockout duration (simpler conversion)
180-
180+
181181 Returns:
182182 str: Human-readable time string (e.g., "42 days 5 hours 30 minutes") or
183183 special values like "Not Set", "None", or "[-] Invalid TIME"
You can’t perform that action at this time.
0 commit comments