예제 #1
0
파일: ircasy.py 프로젝트: krebs/painload
 def push(self, message):
   try:
     self.log.debug('>> %s' % message)
     msg = (message + self.myterminator).encode()
     self.log.debug('>> %s' % msg)
     asychat.push(self, msg)
   except:
       pass
예제 #2
0
파일: ftpd.py 프로젝트: star-bob/pentest-1
 def push(self, s):
     async_chat.push(self, s.encode(encoding))
예제 #3
0
 def push(self, message):
   log.debug('>> %s' % message)
   asychat.push(self, message + self.get_terminator())
예제 #4
0
 def push(self, msg):
     async_chat.push(self, msg + '\r\n')
예제 #5
0
파일: mtplib.py 프로젝트: msander/archiver
 def push(self, msg):
     async_chat.push(self, msg + '\r\n')
예제 #6
0
 def found_terminator(self):
     self.log("found_terminator %s" % (repr(self.in_buffer)))
     self.in_buffer = []
     self.first_read = True
     async_chat.push(self, self.out_buffer)