(self, pkt)
Dump the formatted payload
Dump the formatted payload
Dump the formatted payload
def dump(self, pkt):
        """ Dump the formatted payload """
        try:
            if pkt.haslayer(Raw):
                data = self.pull_output(pkt)
                if not data is None:
                    self.log_msg(data)
        except Exception, e:
            util.Error('%s' % (e))
            return
def dump ( self , pkt ) : try : if pkt . haslayer ( Raw ) : data = self . pull_output ( pkt ) if not data is None : self . log_msg ( data ) except Exception , e : util . Error ( '%s' % ( e ) ) return