mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-12 16:13:04 -07:00
Minor fix
This commit is contained in:
parent
90071187cd
commit
fc2aadca6e
1 changed files with 2 additions and 2 deletions
|
@ -222,9 +222,9 @@ def ExtractSMBChallenge(data):
|
||||||
|
|
||||||
def ExtractHTTPChallenge(data):
|
def ExtractHTTPChallenge(data):
|
||||||
SecBlobLen = struct.unpack("<h", data[43:45])[0]
|
SecBlobLen = struct.unpack("<h", data[43:45])[0]
|
||||||
if SecBlobLen < 255:
|
if SecBlobLen <= 257:
|
||||||
Challenge = data[102:110]
|
Challenge = data[102:110]
|
||||||
if SecBlobLen > 255:
|
if SecBlobLen >= 258:
|
||||||
Challenge = data[106:114]
|
Challenge = data[106:114]
|
||||||
print "[+] Setting up HTTP relay with SMB challenge:", Challenge.encode("hex")
|
print "[+] Setting up HTTP relay with SMB challenge:", Challenge.encode("hex")
|
||||||
return Challenge
|
return Challenge
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue