def doFingerprint(host, port, ssl, service):
	fpath = [abspath("./src/platform/%s/fingerprints" % service)]

	match_fps = []
	fingerprints = list(pkgutil.iter_modules(fpath))
	for fingerprint in fingerprints:
		fp = fingerprint[0].find_module(fingerprint[1]).load_module(fingerprint[1])
		fp = fp.FPrint()
		#Only try to fingerprint if we have a port match
		if fp.check(host, port):
			# set fingerprint port to match fingerengine port if defined
			match_fps.append(fp)

	return match_fps
dataset/ETHPy150Open hatRiot/clusterd/src/module/discovery.py/doFingerprint/original