Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
mime /
Delete
Unzip
Name
Size
Permission
Date
Action
types
[ DIR ]
drwxr-xr-x
2024-07-09 21:58
Mime.js
2.82
KB
-rw-r--r--
2023-05-09 17:06
cli.js
1.17
KB
-rwxr-xr-x
2023-05-09 17:06
index.js
127
B
-rw-r--r--
2023-05-09 17:06
lite.js
101
B
-rw-r--r--
2023-05-09 17:06
package.json
1.09
KB
-rw-r--r--
2023-05-09 17:06
Save
Rename
#!/usr/bin/env node 'use strict'; process.title = 'mime'; let mime = require('.'); let pkg = require('./package.json'); let args = process.argv.splice(2); if (args.includes('--version') || args.includes('-v') || args.includes('--v')) { console.log(pkg.version); process.exit(0); } else if (args.includes('--name') || args.includes('-n') || args.includes('--n')) { console.log(pkg.name); process.exit(0); } else if (args.includes('--help') || args.includes('-h') || args.includes('--h')) { console.log(pkg.name + ' - ' + pkg.description + '\n'); console.log(`Usage: mime [flags] [path_or_extension] Flags: --help, -h Show this message --version, -v Display the version --name, -n Print the name of the program Note: the command will exit after it executes if a command is specified The path_or_extension is the path to the file or the extension of the file. Examples: mime --help mime --version mime --name mime -v mime src/log.js mime new.py mime foo.sh `); process.exit(0); } let file = args[0]; let type = mime.getType(file); process.stdout.write(type + '\n');