mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-19 13:00:00 -07:00
Merge pull request #256 from exploide/basic-auth-fix
Fixed parsing of HTTP basic auth containing colons
This commit is contained in:
commit
351b1aad9e
2 changed files with 8 additions and 2 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,5 +1,11 @@
|
||||||
|
# Python artifacts
|
||||||
|
*.pyc
|
||||||
|
|
||||||
# Responder logs
|
# Responder logs
|
||||||
*.db
|
*.db
|
||||||
*.txt
|
*.txt
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
|
# Generated certificates and keys
|
||||||
|
certs/*.crt
|
||||||
|
certs/*.key
|
||||||
|
|
4
servers/HTTP.py
Executable file → Normal file
4
servers/HTTP.py
Executable file → Normal file
|
@ -224,8 +224,8 @@ def PacketSequence(data, client, Challenge):
|
||||||
'module': 'HTTP',
|
'module': 'HTTP',
|
||||||
'type': 'Basic',
|
'type': 'Basic',
|
||||||
'client': client,
|
'client': client,
|
||||||
'user': ClearText_Auth.decode('latin-1').split(':')[0],
|
'user': ClearText_Auth.decode('latin-1').split(':', maxsplit=1)[0],
|
||||||
'cleartext': ClearText_Auth.decode('latin-1').split(':')[1],
|
'cleartext': ClearText_Auth.decode('latin-1').split(':', maxsplit=1)[1],
|
||||||
})
|
})
|
||||||
|
|
||||||
if settings.Config.Force_WPAD_Auth and WPAD_Custom:
|
if settings.Config.Force_WPAD_Auth and WPAD_Custom:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue