mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.21k stars 409 forks source link

Fix for bytes type in JSON logging #558

Closed mintos5 closed 2 years ago

mintos5 commented 3 years ago

Possible fix for the issue #554 JSONs generated with this fix have non empty request and response fields. Byte values are represented like this: {"request": b'deadbeef'} in JSON

glaslos commented 3 years ago

@t3chn0m4g3 do you have a preference on how bytes are encoded?

t3chn0m4g3 commented 3 years ago

@glaslos Thanks for checking! No, Encoding we can always adapt to with ewsposter.

glaslos commented 2 years ago

Thanks for the contribution!