Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.116.239.11
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
nodejs /
[ HOME SHELL ]
Name
Size
Permission
Action
ansi
[ DIR ]
drwxr-xr-x
ansi-color-table
[ DIR ]
drwxr-xr-x
archy
[ DIR ]
drwxr-xr-x
async
[ DIR ]
drwxr-xr-x
balanced-match
[ DIR ]
drwxr-xr-x
brace-expansion
[ DIR ]
drwxr-xr-x
builtin-modules
[ DIR ]
drwxr-xr-x
combined-stream
[ DIR ]
drwxr-xr-x
concat-map
[ DIR ]
drwxr-xr-x
cookie-jar
[ DIR ]
drwxr-xr-x
delayed-stream
[ DIR ]
drwxr-xr-x
forever-agent
[ DIR ]
drwxr-xr-x
form-data
[ DIR ]
drwxr-xr-x
fs.realpath
[ DIR ]
drwxr-xr-x
fstream
[ DIR ]
drwxr-xr-x
fstream-ignore
[ DIR ]
drwxr-xr-x
github-url-from-git
[ DIR ]
drwxr-xr-x
glob
[ DIR ]
drwxr-xr-x
graceful-fs
[ DIR ]
drwxr-xr-x
gyp
[ DIR ]
drwxr-xr-x
hosted-git-info
[ DIR ]
drwxr-xr-x
inflight
[ DIR ]
drwxr-xr-x
inherits
[ DIR ]
drwxr-xr-x
ini
[ DIR ]
drwxr-xr-x
is-builtin-module
[ DIR ]
drwxr-xr-x
isexe
[ DIR ]
drwxr-xr-x
json-stringify-safe
[ DIR ]
drwxr-xr-x
lru-cache
[ DIR ]
drwxr-xr-x
minimatch
[ DIR ]
drwxr-xr-x
mkdirp
[ DIR ]
drwxr-xr-x
mute-stream
[ DIR ]
drwxr-xr-x
node-uuid
[ DIR ]
drwxr-xr-x
normalize-package-data
[ DIR ]
drwxr-xr-x
npm
[ DIR ]
drwxr-xr-x
npmlog
[ DIR ]
drwxr-xr-x
osenv
[ DIR ]
drwxr-xr-x
path-is-absolute
[ DIR ]
drwxr-xr-x
pseudomap
[ DIR ]
drwxr-xr-x
qs
[ DIR ]
drwxr-xr-x
read-package-json
[ DIR ]
drwxr-xr-x
request
[ DIR ]
drwxr-xr-x
retry
[ DIR ]
drwxr-xr-x
rimraf
[ DIR ]
drwxr-xr-x
semver
[ DIR ]
drwxr-xr-x
sha
[ DIR ]
drwxr-xr-x
slide
[ DIR ]
drwxr-xr-x
spdx-correct
[ DIR ]
drwxr-xr-x
spdx-expression-parse
[ DIR ]
drwxr-xr-x
spdx-license-ids
[ DIR ]
drwxr-xr-x
tar
[ DIR ]
drwxr-xr-x
tunnel-agent
[ DIR ]
drwxr-xr-x
underscore
[ DIR ]
drwxr-xr-x
validate-npm-package-license
[ DIR ]
drwxr-xr-x
which
[ DIR ]
drwxr-xr-x
wrappy
[ DIR ]
drwxr-xr-x
yallist
[ DIR ]
drwxr-xr-x
abbrev.js
1.72
KB
-rw-r--r--
block-stream.js
6.4
KB
-rw-r--r--
lockfile.js
7.05
KB
-rw-r--r--
mime.js
2.63
KB
-rw-r--r--
nopt.js
11.46
KB
-rw-r--r--
once.js
935
B
-rw-r--r--
read.js
2.37
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mime.js
var path = require('path'); var fs = require('fs'); function Mime() { // Map of extension -> mime type this.types = Object.create(null); // Map of mime type -> extension this.extensions = Object.create(null); } /** * Define mimetype -> extension mappings. Each key is a mime-type that maps * to an array of extensions associated with the type. The first extension is * used as the default extension for the type. * * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']}); * * @param map (Object) type definitions */ Mime.prototype.define = function (map) { for (var type in map) { var exts = map[type]; for (var i = 0; i < exts.length; i++) { if (process.env.DEBUG_MIME && this.types[exts]) { console.warn(this._loading.replace(/.*\//, ''), 'changes "' + exts[i] + '" extension type from ' + this.types[exts] + ' to ' + type); } this.types[exts[i]] = type; } // Default extension is the first one we encounter if (!this.extensions[type]) { this.extensions[type] = exts[0]; } } }; /** * Load an Apache2-style ".types" file * * This may be called multiple times (it's expected). Where files declare * overlapping types/extensions, the last file wins. * * @param file (String) path of file to load. */ Mime.prototype.load = function(file) { this._loading = file; // Read file and split into lines var map = {}, content = fs.readFileSync(file, 'ascii'), lines = content.split(/[\r\n]+/); lines.forEach(function(line) { // Clean up whitespace/comments, and split into fields var fields = line.replace(/\s*#.*|^\s*|\s*$/g, '').split(/\s+/); map[fields.shift()] = fields; }); this.define(map); this._loading = null; }; /** * Lookup a mime type based on extension */ Mime.prototype.lookup = function(path, fallback) { var ext = path.replace(/.*[\.\/\\]/, '').toLowerCase(); return this.types[ext] || fallback || this.default_type; }; /** * Return file extension associated with a mime type */ Mime.prototype.extension = function(mimeType) { var type = mimeType.match(/^\s*([^;\s]*)(?:;|\s|$)/)[1].toLowerCase(); return this.extensions[type]; }; // Default instance var mime = new Mime(); // Define built-in types mime.define(require('/usr/share/node-mime/types.json')); // Default type mime.default_type = mime.lookup('bin'); // // Additional API specific to the default instance // mime.Mime = Mime; /** * Lookup a charset based on mime type. */ mime.charsets = { lookup: function(mimeType, fallback) { // Assume text types are utf8 return (/^text\//).test(mimeType) ? 'UTF-8' : fallback; } }; module.exports = mime;
Close