use cowrie.client.kex for KEX

This commit is contained in:
Michel Oosterhof 2018-07-20 14:29:59 +04:00
parent fb642455c6
commit 369497005f
1 changed files with 5 additions and 1 deletions

View File

@ -159,11 +159,15 @@ class Output(cowrie.core.output.Output):
})
elif eventid == 'cowrie.client.version':
m['fields'].update({
'version': ','.join(entry['version']),
})
elif eventid == 'cowrie.client.kex':
m['fields'].update({
'maccs': ','.join(entry['macCS']),
'kexalgs': ','.join(entry['kexAlgs']),
'keyalgs': ','.join(entry['keyAlgs']),
'version': ','.join(entry['version']),
'compcs': ','.join(entry['compCS']),
'enccs': ','.join(entry['encCS'])
})