One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
9611
/
root
/
usr
/
share
/
nodejs
/
@npmcli
/
fs
/
lib
/
Edit File:
copy-file.js
const fs = require('./fs.js') const getOptions = require('./common/get-options.js') const owner = require('./common/owner.js') const copyFile = async (src, dest, opts) => { const options = getOptions(opts, { copy: ['mode', 'owner'], wrap: 'mode', }) const { uid, gid } = await owner.validate(dest, options.owner) // the node core method as of 16.5.0 does not support the mode being in an // object, so we have to pass the mode value directly const result = await fs.copyFile(src, dest, options.mode) await owner.update(dest, uid, gid) return result } module.exports = copyFile
Simpan