Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bettercap/scripts
/ createAP
Function
createAP
security_monitor/functions.js:51–53 ·
view source on GitHub ↗
(ap)
Source
from the content-addressed store, hash-verified
49
50
// create a new access point in the database
51
function
createAP(ap) {
52
db.aps[ap.mac] = ap;
53
}
54
55
// pretty print mac and vendor when available
56
function
decorateMac(label, mac, vendor) {
Callers
1
onNewAP
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected