diff --git a/servers/HTTP.py b/servers/HTTP.py index d65874d..96b3aaf 100644 --- a/servers/HTTP.py +++ b/servers/HTTP.py @@ -144,8 +144,8 @@ def GrabURL(data, host): # Handle HTTP packet sequence. def PacketSequence(data, client): - NTLM_Auth = re.findall(r'(?<=Authorization: NTLM )[^\\r]*', data) - Basic_Auth = re.findall(r'(?<=Authorization: Basic )[^\\r]*', data) + NTLM_Auth = re.findall(r'(?<=Authorization: NTLM )[^\r]*', data) + Basic_Auth = re.findall(r'(?<=Authorization: Basic )[^\r]*', data) # Serve the .exe if needed if settings.Config.Serve_Always is True or (settings.Config.Serve_Exe is True and re.findall('.exe', data)):