Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.147.67.34
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
browser-sync-ui /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
plugins
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
UI.js
5.62
KB
-rw-rw-r--
2022-08-30 11:49
async-tasks.js
801
B
-rw-rw-r--
2022-08-30 11:49
async.js
5.79
KB
-rw-rw-r--
2022-08-30 11:49
client-elements.js
2.01
KB
-rw-rw-r--
2022-08-30 11:49
client-js.js
3.37
KB
-rw-rw-r--
2022-08-30 11:49
config.js
992
B
-rw-rw-r--
2022-08-30 11:49
directive-stripper.js
1.84
KB
-rw-rw-r--
2022-08-30 11:49
hooks.js
7.04
KB
-rw-rw-r--
2022-08-30 11:49
opts.js
492
B
-rw-rw-r--
2022-08-30 11:49
resolve-plugins.js
3.2
KB
-rw-rw-r--
2022-08-30 11:49
server.js
4.97
KB
-rw-rw-r--
2022-08-30 11:49
transform.options.js
600
B
-rw-rw-r--
2022-08-30 11:49
transforms.js
224
B
-rw-rw-r--
2022-08-30 11:49
urls.js
0
B
-rw-rw-r--
2022-08-30 11:49
utils.js
668
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
var fs = require("fs"); const CLIENT_FILES_OPT = "clientFiles"; /** * Enable a element on clients * @param clients * @param ui * @param bs * @returns {Function} */ var types = { "css": "text/css", "js": "application/javascript" }; function enableElement (clients, ui, bs) { return function (file) { var uiItem = ui.getOptionIn([CLIENT_FILES_OPT, file.name]); var item = uiItem.toJS(); var enableFn = uiItem.getIn(["callbacks", "enable"]); if (item.active) { return; } ui.setOptionIn([CLIENT_FILES_OPT, item.name, "active"], true, {silent: true}); if (enableFn) { enableFn.call(ui, item); } if (item.file && !item.served) { ui.setOptionIn([CLIENT_FILES_OPT, item.name, "served"], true, {silent: true}); bs.serveFile(item.src, { type: types[item.type], content: fs.readFileSync(item.file) }); } addElement(clients, ui.getOptionIn([CLIENT_FILES_OPT, item.name]).toJS()); }; } /** * @param clients * @param ui * @returns {Function} */ function disableElement (clients, ui) { return function (file) { var uiItem = ui.getOptionIn([CLIENT_FILES_OPT, file.name]); var item = uiItem.toJS(); var disableFn = uiItem.getIn(["callbacks", "disable"]); if (disableFn) { disableFn.call(ui, item); } ui.setOptionIn([CLIENT_FILES_OPT, item.name, "active"], false, {silent: true}); removeElement(clients, item.id); }; } /** * @param clients * @param item */ function addElement (clients, item) { clients.emit("ui:element:add", item); } /** * @param clients * @param id */ function removeElement(clients, id) { clients.emit("ui:element:remove", {id: id}); } module.exports.addElement = addElement; module.exports.removeElement = removeElement; module.exports.enable = enableElement; module.exports.disable = disableElement;