Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
node_modules /
tar /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
create.js
2.34
KB
-rw-r--r--
2023-01-06 19:00
extract.js
2.79
KB
-rw-r--r--
2023-01-06 19:00
get-write-flag.js
921
B
-rw-r--r--
2022-10-11 19:59
header.js
8.94
KB
-rw-r--r--
2023-01-06 19:00
high-level-opt.js
760
B
-rw-r--r--
2022-10-11 19:59
large-numbers.js
2.18
KB
-rw-r--r--
2023-01-06 19:00
list.js
3.15
KB
-rw-r--r--
2023-01-06 19:00
mkdir.js
5.36
KB
-rw-r--r--
2023-01-06 19:00
mode-fix.js
649
B
-rw-r--r--
2023-01-06 19:00
normalize-unicode.js
412
B
-rw-r--r--
2023-08-09 09:23
normalize-windows-path.js
410
B
-rw-r--r--
2022-10-11 19:59
pack.js
9.79
KB
-rw-r--r--
2023-10-14 15:00
parse.js
15.94
KB
-rw-r--r--
2023-10-14 15:00
path-reservations.js
4.31
KB
-rw-r--r--
2023-08-09 09:23
pax.js
3.97
KB
-rw-r--r--
2023-01-06 19:00
read-entry.js
2.78
KB
-rw-r--r--
2023-06-20 15:00
replace.js
5.64
KB
-rw-r--r--
2023-10-14 15:00
strip-absolute-path.js
917
B
-rw-r--r--
2023-01-06 19:00
strip-trailing-slashes.js
394
B
-rw-r--r--
2022-10-11 19:59
types.js
1.07
KB
-rw-r--r--
2022-10-11 19:59
unpack.js
25.23
KB
-rw-r--r--
2024-04-25 19:00
update.js
937
B
-rw-r--r--
2023-10-14 15:00
warn-mixin.js
725
B
-rw-r--r--
2023-01-06 19:00
winchars.js
535
B
-rw-r--r--
2022-10-11 19:59
write-entry.js
14.94
KB
-rw-r--r--
2023-06-20 15:00
Save
Rename
'use strict' // tar -c const hlo = require('./high-level-opt.js') const Pack = require('./pack.js') const fsm = require('fs-minipass') const t = require('./list.js') const path = require('path') module.exports = (opt_, files, cb) => { if (typeof files === 'function') { cb = files } if (Array.isArray(opt_)) { files = opt_, opt_ = {} } if (!files || !Array.isArray(files) || !files.length) { throw new TypeError('no files or directories specified') } files = Array.from(files) const opt = hlo(opt_) if (opt.sync && typeof cb === 'function') { throw new TypeError('callback not supported for sync tar functions') } if (!opt.file && typeof cb === 'function') { throw new TypeError('callback only supported with file option') } return opt.file && opt.sync ? createFileSync(opt, files) : opt.file ? createFile(opt, files, cb) : opt.sync ? createSync(opt, files) : create(opt, files) } const createFileSync = (opt, files) => { const p = new Pack.Sync(opt) const stream = new fsm.WriteStreamSync(opt.file, { mode: opt.mode || 0o666, }) p.pipe(stream) addFilesSync(p, files) } const createFile = (opt, files, cb) => { const p = new Pack(opt) const stream = new fsm.WriteStream(opt.file, { mode: opt.mode || 0o666, }) p.pipe(stream) const promise = new Promise((res, rej) => { stream.on('error', rej) stream.on('close', res) p.on('error', rej) }) addFilesAsync(p, files) return cb ? promise.then(cb, cb) : promise } const addFilesSync = (p, files) => { files.forEach(file => { if (file.charAt(0) === '@') { t({ file: path.resolve(p.cwd, file.slice(1)), sync: true, noResume: true, onentry: entry => p.add(entry), }) } else { p.add(file) } }) p.end() } const addFilesAsync = (p, files) => { while (files.length) { const file = files.shift() if (file.charAt(0) === '@') { return t({ file: path.resolve(p.cwd, file.slice(1)), noResume: true, onentry: entry => p.add(entry), }).then(_ => addFilesAsync(p, files)) } else { p.add(file) } } p.end() } const createSync = (opt, files) => { const p = new Pack.Sync(opt) addFilesSync(p, files) return p } const create = (opt, files) => { const p = new Pack(opt) addFilesAsync(p, files) return p }