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.20
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 /
tapable /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
AsyncParallelBailHook.js
2.12
KB
-rw-r--r--
AsyncParallelHook.js
721
B
-rw-r--r--
AsyncSeriesBailHook.js
851
B
-rw-r--r--
AsyncSeriesHook.js
711
B
-rw-r--r--
AsyncSeriesLoopHook.js
728
B
-rw-r--r--
AsyncSeriesWaterfallHook.js
1.06
KB
-rw-r--r--
Hook.js
4.29
KB
-rw-r--r--
HookCodeFactory.js
8.79
KB
-rw-r--r--
HookMap.js
995
B
-rw-r--r--
MultiHook.js
837
B
-rw-r--r--
SyncBailHook.js
922
B
-rw-r--r--
SyncHook.js
785
B
-rw-r--r--
SyncLoopHook.js
810
B
-rw-r--r--
SyncWaterfallHook.js
1.18
KB
-rw-r--r--
Tapable.js
1.91
KB
-rw-r--r--
index.js
790
B
-rw-r--r--
simpleAsyncCases.js
4.48
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : simpleAsyncCases.js
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; exports.notBailing = (options) => { const args = options.args.join(", "); const argsWithCallback = args ? `${args}, _callback` : "_callback"; const argsWithComma = args ? `${args}, ` : ""; const tap = options.tap; const type = options.type; switch(`${tap} ${type}`) { case "none async": return `function(${argsWithCallback}) { _callback(); }`; case "none promise": return `function(${args}) { return Promise.resolve(); }`; case "sync async": return `function(${argsWithCallback}) { try { this._x(${args}); } catch(_e) { _callback(_e); return; } _callback(); }`; case "sync promise": return `function(${args}) { return Promise.resolve().then(() => { this._x(${args}); }); }`; case "async async": return `function(${argsWithCallback}) { this._x(${argsWithComma}(_err) => { if(_err) { _callback(_err); return; } _callback(); }); }`; case "async promise": return `function(${args}) { return new Promise((_resolve, _reject) => { let _isSync = true; this._x(${argsWithComma}_err => { if(_err) { if(_isSync) Promise.resolve().then(() => _reject(_err)); else _reject(_err); return; } _resolve(); }); _isSync = false; }); }`; case "promise async": return `function(${argsWithCallback}) { Promise.resolve(this._x(${args})).then(() => { _callback(); }, _err => { _callback(_err); }); }`; case "promise promise": return `function(${args}) { return Promise.resolve(this._x(${args})).then(() => {}); }`; case "multiple-sync async": return `function(${argsWithCallback}) { try { const _fns = this._x; for(let _i = 0; _i < _fns.length; _i++) { _fns[_i](${args}); } } catch(_err) { _callback(_err); return; } _callback(); }`; case "multiple-sync promise": return `function(${args}) { return Promise.resolve().then(() => { const _fns = this._x; for(let _i = 0; _i < _fns.length; _i++) { _fns[_i](${args}); } }); }`; } } exports.bailing = (options) => { const args = options.args.join(", "); const argsWithCallback = args ? `${args}, _callback` : "_callback"; const argsWithComma = args ? `${args}, ` : ""; const tap = options.tap; const type = options.type; switch(`${tap} ${type}`) { case "none async": return `function(${argsWithCallback}) { _callback(); }`; case "none promise": return `function(${args}) { return Promise.resolve(); }`; case "sync async": return `function(${argsWithCallback}) { let _result; try { _result = this._x(${args}); } catch(_e) { _callback(_e); return; } _callback(null, _result); }`; case "sync promise": return `function(${args}) { return Promise.resolve().then(() => this._x(${args})); }`; case "async async": return `function(${argsWithCallback}) { this._x(${argsWithCallback}); }`; case "async promise": return `function(${args}) { return new Promise((_resolve, _reject) => { let _isSync = true; this._x(${argsWithComma}(_err, _result) => { if(_err) { if(_isSync) Promise.resolve().then(() => _reject(_err)); else _reject(_err); return; } _resolve(_result); }); _isSync = false; }); }`; case "promise async": return `function(${argsWithCallback}) { Promise.resolve(this._x(${args})).then(_result => { _callback(null, _result); }, _err => { _callback(_err); }); }`; case "promise promise": return `function(${args}) { return this._x(${args}); }`; case "multiple-sync async": return `function(${argsWithCallback}) { try { const _fns = this._x; for(let _i = 0; _i < _fns.length; _i++) { const _result = _fns[_i](${args}); if(_result !== undefined) { _callback(null, _result); return; } } } catch(_err) { _callback(_err); return; } _callback(); }`; case "multiple-sync promise": return `function(${args}) { return new Promise(_resolve => { const _fns = this._x; for(let _i = 0; _i < _fns.length; _i++) { const _result = _fns[_i](${args}); if(_result !== undefined) { _resolve(_result); return; } } _resolve(); }); }`; } }
Close