def process(self, obj, meta):
        banner = obj["banner"]

        if "(NETGEAR ReadyNAS)" in banner:
            meta.global_metadata.device_type = Type.NAS
            meta.global_metadata.manufacturer = Manufacturer.NETGEAR
            meta.global_metadata.product = "ReadyNAS"

            if banner.startswith("220 ProFTPD"):
                meta.local_metadata.product = "ProFTPD"

                version = self.version_re.search(banner).group(1)
                meta.local_metadata.version = version

                rev = self.version_re.search(banner).group(2)
                meta.local_metadata.revision = rev

        return meta
dataset/ETHPy150Open zmap/ztag/ztag/annotations/FtpNetgear.py/FtpNetgear.process/original