mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-20 05:13:34 -07:00
Responder is quieter by default. use -v for verbose mode.
This commit is contained in:
parent
919e020253
commit
918509ce7b
1 changed files with 8 additions and 4 deletions
12
Responder.py
12
Responder.py
|
@ -972,7 +972,8 @@ def WpadCustom(data,client):
|
||||||
b = re.search('(/wpad.dat|/*\.pac)', data)
|
b = re.search('(/wpad.dat|/*\.pac)', data)
|
||||||
if b:
|
if b:
|
||||||
Message = "[+]WPAD file sent to: %s"%(client)
|
Message = "[+]WPAD file sent to: %s"%(client)
|
||||||
print Message
|
if Verbose:
|
||||||
|
print Message
|
||||||
logging.warning(Message)
|
logging.warning(Message)
|
||||||
buffer1 = WPADScript(Payload=WPAD_Script)
|
buffer1 = WPADScript(Payload=WPAD_Script)
|
||||||
buffer1.calculate()
|
buffer1.calculate()
|
||||||
|
@ -1113,17 +1114,20 @@ def GrabHost(data,host):
|
||||||
if GET:
|
if GET:
|
||||||
HostStr = "[+]HTTP Proxy sent from: %s The requested URL was: %s"%(host,''.join(GET))
|
HostStr = "[+]HTTP Proxy sent from: %s The requested URL was: %s"%(host,''.join(GET))
|
||||||
logging.warning(HostStr)
|
logging.warning(HostStr)
|
||||||
print HostStr
|
if Verbose:
|
||||||
|
print HostStr
|
||||||
return ''.join(GET),None
|
return ''.join(GET),None
|
||||||
if CONNECT:
|
if CONNECT:
|
||||||
Host2Str = "[+]HTTP Proxy sent from: %s The requested URL was: %s"%(host,''.join(CONNECT))
|
Host2Str = "[+]HTTP Proxy sent from: %s The requested URL was: %s"%(host,''.join(CONNECT))
|
||||||
logging.warning(Host2Str)
|
logging.warning(Host2Str)
|
||||||
print Host2Str
|
if Verbose:
|
||||||
|
print Host2Str
|
||||||
return ''.join(CONNECT), None
|
return ''.join(CONNECT), None
|
||||||
if POST:
|
if POST:
|
||||||
Host3Str = "[+]HTTP Proxy sent from: %s The requested URL was: %s"%(host,''.join(POST))
|
Host3Str = "[+]HTTP Proxy sent from: %s The requested URL was: %s"%(host,''.join(POST))
|
||||||
logging.warning(Host3Str)
|
logging.warning(Host3Str)
|
||||||
print Host3Str
|
if Verbose:
|
||||||
|
print Host3Str
|
||||||
if len(''.join(POSTDATA)) >2:
|
if len(''.join(POSTDATA)) >2:
|
||||||
PostData = '[+]The HTTP POST DATA in this request was: %s'%(''.join(POSTDATA))
|
PostData = '[+]The HTTP POST DATA in this request was: %s'%(''.join(POSTDATA))
|
||||||
print PostData
|
print PostData
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue