MCPcopy
hub / github.com/knownsec/pocsuite3 / add_ip

Method add_ip

pocsuite3/lib/core/statistics_comparison.py:14–21  ·  view source on GitHub ↗
(self, ip, source, honeypot=False)

Source from the content-addressed store, hash-verified

12 self.dork[source] = dork
13
14 def add_ip(self, ip, source, honeypot=False):
15 if ip not in self.data:
16 self.data[ip] = {
17 "source": [],
18 "honeypot": honeypot,
19 "success": False
20 }
21 self.data[ip]["source"].append(source)
22
23 def getinfo(self, ip) -> tuple:
24 if ip not in self.data:

Callers 6

searchMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected