desaster / kippo

Kippo - SSH Honeypot
1.61k stars 279 forks source link

echo -n test #190

Open sebastianheyn opened 9 years ago

sebastianheyn commented 9 years ago

Hi,

I noticed most attackers try echo -n test first, then leave the honeypot as kippo outputs "-n test" instead of "test" without newline.

micheloosterhof commented 9 years ago

Works correctly in Cowrie, you can copy the code if you like:

https://github.com/micheloosterhof/cowrie/blob/e887724c5a3b6963e010ff7cf2b4ff4863b83f14/cowrie/commands/base.py#L103