mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
print newline after ssh -V when reading from config file
This commit is contained in:
@ -49,7 +49,7 @@ class command_ssh(HoneyPotCommand):
|
|||||||
if opt[0] == '-V':
|
if opt[0] == '-V':
|
||||||
self.write(CONFIG.get('shell', 'ssh_version',
|
self.write(CONFIG.get('shell', 'ssh_version',
|
||||||
fallback="OpenSSH_7.9p1, \
|
fallback="OpenSSH_7.9p1, \
|
||||||
OpenSSL 1.1.1a 20 Nov 2018\n"))
|
OpenSSL 1.1.1a 20 Nov 2018")+"\n")
|
||||||
self.exit()
|
self.exit()
|
||||||
return
|
return
|
||||||
if not len(args):
|
if not len(args):
|
||||||
|
|||||||
Reference in New Issue
Block a user