Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
32
function
createEndpoint(endpoint) {
33
db.endpoints[endpoint.mac] = endpoint;
34
}
35
36
// update last_seen timestamp and meta values of a known access point
37
function
updateAP(ap) {
Callers
1
onNewEndpoint
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected