MCPcopy
hub / github.com/NullArray/AutoSploit / make_request

Method make_request

api_calls/honeyscore_hook.py:15–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13 }
14
15 def make_request(self):
16 try:
17 req = requests.get(self.url.format(ip=self.ip, key=self.api_key), headers=self.headers)
18 honeyscore = float(req.content)
19 except Exception:
20 honeyscore = 0.0
21 return honeyscore

Callers 1

start_exploitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected