Cleaned SSL send

This commit is contained in:
John W Kerns 2017-09-01 01:53:36 -07:00
parent f11e931ab9
commit b5298d7ada

View file

@ -101,7 +101,7 @@ def ssh_talker(client, addr):
server.event.wait(10)
valdict = {"ip": cleanip(addr[0]), "port": addr[1]}
#chan.send(j2format(j2log, valdict))
chan.send('\r\n\r\n%s\r\n\r\n' % j2format(j2send, valdict))
chan.send('%s' % j2format(j2send, valdict))
chan.makefile('rU').readline().strip('\r\n')
chan.close()