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 BasicMatcherRulePlugin { constructor(ruleProperty, dataProperty, invert) { this.ruleProperty = ruleProperty; this.dataProperty = dataProperty || ruleProperty; this.invert = invert || false; } /** * @param {RuleSetCompiler} ruleSetCompiler the rule set compiler * @returns {void} */ apply(ruleSetCompiler) { ruleSetCompiler.hooks.rule.tap( "BasicMatcherRulePlugin", (path, rule, unhandledProperties, result) => { if (unhandledProperties.has(this.ruleProperty)) { unhandledProperties.delete(this.ruleProperty); const value = rule[this.ruleProperty]; const condition = ruleSetCompiler.compileCondition( `${path}.${this.ruleProperty}`, value ); const fn = condition.fn; result.conditions.push({ property: this.dataProperty, matchWhenEmpty: this.invert ? !condition.matchWhenEmpty : condition.matchWhenEmpty, fn: this.invert ? v => !fn(v) : fn }); } } ); } } module.exports = BasicMatcherRulePlugin;