forked from BSDCafe/checkmyip
Cleaned SSL send
This commit is contained in:
parent
f11e931ab9
commit
b5298d7ada
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue