Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 3.147.63.2
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
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
/
opt /
alt /
alt-nodejs16 /
root /
usr /
lib /
node_modules /
npm /
node_modules.bundled /
tar /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
create.js
2.3
KB
-rw-r--r--
extract.js
2.74
KB
-rw-r--r--
get-write-flag.js
921
B
-rw-r--r--
header.js
8.77
KB
-rw-r--r--
high-level-opt.js
760
B
-rw-r--r--
large-numbers.js
2.13
KB
-rw-r--r--
list.js
3.09
KB
-rw-r--r--
mkdir.js
5.21
KB
-rw-r--r--
mode-fix.js
619
B
-rw-r--r--
normalize-unicode.js
405
B
-rw-r--r--
normalize-windows-path.js
410
B
-rw-r--r--
pack.js
9.22
KB
-rw-r--r--
parse.js
13.86
KB
-rw-r--r--
path-reservations.js
4.21
KB
-rw-r--r--
pax.js
3.92
KB
-rw-r--r--
read-entry.js
2.71
KB
-rw-r--r--
replace.js
5.35
KB
-rw-r--r--
strip-absolute-path.js
918
B
-rw-r--r--
strip-trailing-slashes.js
394
B
-rw-r--r--
types.js
1.07
KB
-rw-r--r--
unpack.js
24.46
KB
-rw-r--r--
update.js
842
B
-rw-r--r--
warn-mixin.js
697
B
-rw-r--r--
winchars.js
535
B
-rw-r--r--
write-entry.js
14.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : large-numbers.js
'use strict' // Tar can encode large and negative numbers using a leading byte of // 0xff for negative, and 0x80 for positive. const encode = (num, buf) => { if (!Number.isSafeInteger(num)) // The number is so large that javascript cannot represent it with integer // precision. throw Error('cannot encode number outside of javascript safe integer range') else if (num < 0) encodeNegative(num, buf) else encodePositive(num, buf) return buf } const encodePositive = (num, buf) => { buf[0] = 0x80 for (var i = buf.length; i > 1; i--) { buf[i - 1] = num & 0xff num = Math.floor(num / 0x100) } } const encodeNegative = (num, buf) => { buf[0] = 0xff var flipped = false num = num * -1 for (var i = buf.length; i > 1; i--) { var byte = num & 0xff num = Math.floor(num / 0x100) if (flipped) buf[i - 1] = onesComp(byte) else if (byte === 0) buf[i - 1] = 0 else { flipped = true buf[i - 1] = twosComp(byte) } } } const parse = (buf) => { const pre = buf[0] const value = pre === 0x80 ? pos(buf.slice(1, buf.length)) : pre === 0xff ? twos(buf) : null if (value === null) throw Error('invalid base256 encoding') if (!Number.isSafeInteger(value)) // The number is so large that javascript cannot represent it with integer // precision. throw Error('parsed number outside of javascript safe integer range') return value } const twos = (buf) => { var len = buf.length var sum = 0 var flipped = false for (var i = len - 1; i > -1; i--) { var byte = buf[i] var f if (flipped) f = onesComp(byte) else if (byte === 0) f = byte else { flipped = true f = twosComp(byte) } if (f !== 0) sum -= f * Math.pow(256, len - i - 1) } return sum } const pos = (buf) => { var len = buf.length var sum = 0 for (var i = len - 1; i > -1; i--) { var byte = buf[i] if (byte !== 0) sum += byte * Math.pow(256, len - i - 1) } return sum } const onesComp = byte => (0xff ^ byte) & 0xff const twosComp = byte => ((0xff ^ byte) + 1) & 0xff module.exports = { encode, parse, }
Close