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 : 18.221.21.111
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
webpack /
schemas /
Delete
Unzip
Name
Size
Permission
Date
Action
ajv.absolutePath.js
809
B
-rw-r--r--
2018-05-11 14:48
webpackOptionsSchema.json
46.81
KB
-rw-r--r--
2018-05-11 14:48
Save
Rename
"use strict"; const getErrorFor = (shouldBeAbsolute, data, schema) => { const message = shouldBeAbsolute ? `The provided value ${JSON.stringify(data)} is not an absolute path!` : `A relative path is expected. However the provided value ${JSON.stringify(data)} is an absolute path!`; return { keyword: "absolutePath", params: { absolutePath: data }, message: message, parentSchema: schema, }; }; module.exports = (ajv) => ajv.addKeyword("absolutePath", { errors: true, type: "string", compile(expected, schema) { function callback(data) { const passes = expected === /^(?:[A-Za-z]:\\|\/)/.test(data); if(!passes) { callback.errors = [getErrorFor(expected, data, schema)]; } return passes; } callback.errors = []; return callback; } });