mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-07 05:21:22 -07:00
minor bug fix
This commit is contained in:
parent
92c9191bda
commit
2cdeef3c83
2 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,8 @@ from utils import *
|
|||
|
||||
def GrabUserAgent(data):
|
||||
UserAgent = re.findall(r'(?<=User-Agent: )[^\r]*', data)
|
||||
print text("[Proxy-Auth] %s" % color("User-Agent : "+UserAgent[0], 2))
|
||||
if UserAgent:
|
||||
print text("[Proxy-Auth] %s" % color("User-Agent : "+UserAgent[0], 2))
|
||||
|
||||
def GrabCookie(data):
|
||||
Cookie = re.search(r'(Cookie:*.\=*)[^\r\n]*', data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue