Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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
/
var /
www /
html /
quiz1 /
node_modules /
default-gateway /
[ HOME SHELL ]
Name
Size
Permission
Action
LICENSE
1.26
KB
-rw-rw-rw-
README.md
1.77
KB
-rw-rw-rw-
android.js
940
B
-rw-rw-rw-
darwin.js
1.34
KB
-rw-rw-rw-
freebsd.js
1.01
KB
-rw-rw-rw-
ibmi.js
1.02
KB
-rw-rw-rw-
index.js
867
B
-rw-rw-rw-
linux.js
1.51
KB
-rw-rw-rw-
openbsd.js
1.08
KB
-rw-rw-rw-
package.json
781
B
-rw-rw-rw-
sunos.js
1.08
KB
-rw-rw-rw-
win32.js
3.1
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : darwin.js
"use strict"; const {isIP} = require("net"); const {release} = require("os"); const execa = require("execa"); const dests = new Set(["default", "0.0.0.0", "0.0.0.0/0", "::", "::/0"]); const args = { v4: ["-rn", "-f", "inet"], v6: ["-rn", "-f", "inet6"], }; // The IPv4 gateway is in column 3 in Darwin 19 (macOS 10.15 Catalina) and higher, // previously it was in column 5 const v4IfaceColumn = parseInt(release()) >= 19 ? 3 : 5; const parse = (stdout, family) => { let result; (stdout || "").trim().split("\n").some(line => { const results = line.split(/ +/) || []; const target = results[0]; const gateway = results[1]; const iface = results[family === "v4" ? v4IfaceColumn : 3]; if (dests.has(target) && gateway && isIP(gateway)) { result = {gateway, interface: (iface ? iface : null)}; return true; } }); if (!result) { throw new Error("Unable to determine default gateway"); } return result; }; const promise = async family => { const {stdout} = await execa("netstat", args[family]); return parse(stdout, family); }; const sync = family => { const {stdout} = execa.sync("netstat", args[family]); return parse(stdout, family); }; module.exports.v4 = () => promise("v4"); module.exports.v6 = () => promise("v6"); module.exports.v4.sync = () => sync("v4"); module.exports.v6.sync = () => sync("v6");
Close