MCPcopy Index your code
hub / github.com/secdev/scapy / nmap_probes2sig

Function nmap_probes2sig

scapy/modules/nmap.py:189–198  ·  view source on GitHub ↗
(tests)

Source from the content-addressed store, hash-verified

187
188
189def nmap_probes2sig(tests):
190 # type: (Dict) -> Dict
191 tests = tests.copy()
192 res = {}
193 if "PU" in tests:
194 res["PU"] = nmap_udppacket_sig(*tests["PU"])
195 del tests["PU"]
196 for k in tests:
197 res[k] = nmap_tcppacket_sig(tests[k])
198 return res
199
200
201def nmap_search(sigs):

Callers 1

nmap_sigFunction · 0.85

Calls 3

nmap_udppacket_sigFunction · 0.85
nmap_tcppacket_sigFunction · 0.85
copyMethod · 0.45

Tested by

no test coverage detected