Skip to content

Commit 8b252bb

Browse files
committed
xortool: As key is binary, need to drop 2 chars from start
1 parent 87f2c3f commit 8b252bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎xortool/xortool‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def print_keys(keys):
321321
fmt = "{C_COUNT}{:d}{C_RESET} possible key(s) of length {C_COUNT}{:d}{C_RESET}:"
322322
print(fmt.format(len(keys), len(keys[0]), **COLORS))
323323
for key in keys[:5]:
324-
print(C_KEY + repr(key)[1:-1] + C_RESET)
324+
print(C_KEY + repr(key)[2:-1] + C_RESET)
325325
if len(keys) > 10:
326326
print("...")
327327

0 commit comments

Comments
 (0)