Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
ajv-keywords /
keywords /
[ HOME SHELL ]
Name
Size
Permission
Action
dot
[ DIR ]
drwxr-xr-x
dotjs
[ DIR ]
drwxr-xr-x
_formatLimit.js
2.25
KB
-rw-r--r--
_util.js
402
B
-rw-r--r--
allRequired.js
474
B
-rw-r--r--
anyRequired.js
531
B
-rw-r--r--
deepProperties.js
1.33
KB
-rw-r--r--
deepRequired.js
1.26
KB
-rw-r--r--
dynamicDefaults.js
1.96
KB
-rw-r--r--
formatMaximum.js
70
B
-rw-r--r--
formatMinimum.js
70
B
-rw-r--r--
index.js
770
B
-rw-r--r--
instanceof.js
1.3
KB
-rw-r--r--
oneRequired.js
531
B
-rw-r--r--
patternRequired.js
412
B
-rw-r--r--
prohibited.js
544
B
-rw-r--r--
range.js
985
B
-rw-r--r--
regexp.js
959
B
-rw-r--r--
select.js
2.16
KB
-rw-r--r--
switch.js
817
B
-rw-r--r--
transform.js
2.1
KB
-rw-r--r--
typeof.js
818
B
-rw-r--r--
uniqueItemProperties.js
1.8
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : dynamicDefaults.js
'use strict'; var sequences = {}; var DEFAULTS = { timestamp: function() { return Date.now(); }, datetime: function() { return (new Date).toISOString(); }, date: function() { return (new Date).toISOString().slice(0, 10); }, time: function() { return (new Date).toISOString().slice(11); }, random: function() { return Math.random(); }, randomint: function (args) { var limit = args && args.max || 2; return function() { return Math.floor(Math.random() * limit); }; }, seq: function (args) { var name = args && args.name || ''; sequences[name] = sequences[name] || 0; return function() { return sequences[name]++; }; } }; module.exports = function defFunc(ajv) { defFunc.definition = { compile: function (schema, parentSchema, it) { var funcs = {}; for (var key in schema) { var d = schema[key]; var func = getDefault(typeof d == 'string' ? d : d.func); funcs[key] = func.length ? func(d.args) : func; } return it.opts.useDefaults && !it.compositeRule ? assignDefaults : noop; function assignDefaults(data) { for (var prop in schema){ if (data[prop] === undefined || (it.opts.useDefaults == 'empty' && (data[prop] === null || data[prop] === ''))) data[prop] = funcs[prop](); } return true; } function noop() { return true; } }, DEFAULTS: DEFAULTS, metaSchema: { type: 'object', additionalProperties: { type: ['string', 'object'], additionalProperties: false, required: ['func', 'args'], properties: { func: { type: 'string' }, args: { type: 'object' } } } } }; ajv.addKeyword('dynamicDefaults', defFunc.definition); return ajv; function getDefault(d) { var def = DEFAULTS[d]; if (def) return def; throw new Error('invalid "dynamicDefaults" keyword property value: ' + d); } };
Close