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.119.103.13
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 /
webpack /
lib /
rules /
Delete
Unzip
Name
Size
Permission
Date
Action
BasicEffectRulePlugin.js
876
B
-rw-rw-r--
2022-08-30 11:49
BasicMatcherRulePlugin.js
1.24
KB
-rw-rw-r--
2022-08-30 11:49
ObjectMatcherRulePlugin.js
1.29
KB
-rw-rw-r--
2022-08-30 11:49
RuleSetCompiler.js
8.71
KB
-rw-rw-r--
2022-08-30 11:49
UseEffectRulePlugin.js
5.18
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; /** @typedef {import("./RuleSetCompiler")} RuleSetCompiler */ /** @typedef {import("./RuleSetCompiler").RuleCondition} RuleCondition */ class ObjectMatcherRulePlugin { constructor(ruleProperty, dataProperty) { this.ruleProperty = ruleProperty; this.dataProperty = dataProperty || ruleProperty; } /** * @param {RuleSetCompiler} ruleSetCompiler the rule set compiler * @returns {void} */ apply(ruleSetCompiler) { const { ruleProperty, dataProperty } = this; ruleSetCompiler.hooks.rule.tap( "ObjectMatcherRulePlugin", (path, rule, unhandledProperties, result) => { if (unhandledProperties.has(ruleProperty)) { unhandledProperties.delete(ruleProperty); const value = rule[ruleProperty]; for (const property of Object.keys(value)) { const nestedDataProperties = property.split("."); const condition = ruleSetCompiler.compileCondition( `${path}.${ruleProperty}.${property}`, value[property] ); result.conditions.push({ property: [dataProperty, ...nestedDataProperties], matchWhenEmpty: condition.matchWhenEmpty, fn: condition.fn }); } } } ); } } module.exports = ObjectMatcherRulePlugin;