mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
Update dshield.py (#404)
This commit is contained in:
committed by
Michel Oosterhof
parent
6380825960
commit
df735dd286
@ -86,8 +86,7 @@ class Output(cowrie.core.output.Output):
|
|||||||
base64.b64decode(self.auth_key), hashlib.sha256).digest())
|
base64.b64decode(self.auth_key), hashlib.sha256).digest())
|
||||||
auth_header = 'credentials={0} nonce={1} userid={2}'.format(digest, _nonceb64, self.userid)
|
auth_header = 'credentials={0} nonce={1} userid={2}'.format(digest, _nonceb64, self.userid)
|
||||||
headers = {'X-ISC-Authorization': auth_header,
|
headers = {'X-ISC-Authorization': auth_header,
|
||||||
'Content-Type':'text/plain',
|
'Content-Type':'text/plain'}
|
||||||
'Content-Length': str(len(log_output))}
|
|
||||||
#log.msg(headers)
|
#log.msg(headers)
|
||||||
|
|
||||||
if self.debug:
|
if self.debug:
|
||||||
|
|||||||
Reference in New Issue
Block a user