MCPcopy Index your code
hub / github.com/bettercap/scripts / createEndpoint

Function createEndpoint

security_monitor/functions.js:32–34  ·  view source on GitHub ↗
(endpoint)

Source from the content-addressed store, hash-verified

30
31// create a new endpoint in the database
32function createEndpoint(endpoint) {
33 db.endpoints[endpoint.mac] = endpoint;
34}
35
36// update last_seen timestamp and meta values of a known access point
37function updateAP(ap) {

Callers 1

onNewEndpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected