var minisrv_service_file = true; var WTVAdmin = require("./WTVAdmin.js"); var wtva = new WTVAdmin(minisrv_config, ssid_sessions[socket.ssid], service_name); var auth = wtva.isAuthorized(); if (auth === true) { var password = null; if (request_headers.Authorization) { var authheader = request_headers.Authorization.split(' '); if (authheader[0] == "Basic") { password = Buffer.from(authheader[1], 'base64').toString(); if (password) password = password.split(':')[1]; } } if (wtva.checkPassword(password)) { headers = "200 OK\r\nContent-Type: text/html"; data = `
| Standard Tricks | Account Lookup | ||
| Ban an SSID | Delete an Account | ||
| Unban an SSID | Delete User from Account | ||
| Remove Pass from User | |||
| Polyzoot a User | |||