def sendBanner(self):
        """
        Display contents of <honeyfs>/etc/issue.net
        """
        if self.bannerSent:
            return
        self.bannerSent = True
        try:
            honeyfs = self.portal.realm.cfg.get('honeypot', 'contents_path')
            issuefile = honeyfs + "/etc/issue.net"
            data = open(issuefile).read()
        except __HOLE__:
            return
        if not data or not len(data.strip()):
            return
        self.transport.sendPacket(
            userauth.MSG_USERAUTH_BANNER, NS(data) + NS('en'))
dataset/ETHPy150Open cowrie/cowrie/cowrie/ssh/userauth.py/HoneyPotSSHUserAuthServer.sendBanner