mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-26 17:39:04 +00:00
Update Finger.py to fix bug with single byte comparisons in python3
This commit is contained in:
@@ -152,7 +152,7 @@ def color(txt, code = 1, modifier = 0):
|
|||||||
return "\033[%d;3%dm%s\033[0m" % (modifier, code, txt)
|
return "\033[%d;3%dm%s\033[0m" % (modifier, code, txt)
|
||||||
|
|
||||||
def IsSigningEnabled(data):
|
def IsSigningEnabled(data):
|
||||||
if data[39] == "\x0f":
|
if data[39:40] == b"\x0f":
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user