Linux localhost 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 23.92.16.63 | : 162.158.159.136
Cant Read [ /etc/named.conf ]
8.1.5
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
/
usr /
share /
doc /
node-genfun /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
basic.js
1.24
KB
-rw-r--r--
fmap.js
2.75
KB
-rw-r--r--
hellodog.js
598
B
-rw-r--r--
namespaced_tostring.js
1018
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : namespaced_tostring.js
var genfun = require('../') var logs = { toString: genfun(), name: 'logs' } var json = { toString: genfun(), name: 'json' } var xml = { toString: genfun(), name: 'xml' } logs.toString.add([Array], function (array) { // We can still call regular JS methods on these things... return '!!! Data (type ' + ({}).toString.call(array) + '): ' + array.toString() }) json.toString.add([Array], function (array) { return JSON.stringify(array) }) xml.toString.add([Array], function (array) { return '<javascript-array>' + array.reduce(function (acc, next) { return acc + '<array-item>' + next.toString() + '</array-item>' }, '') + '</javascript-array>' }) exports.runExample = function () { var array = ['foo', 1, 1.5] console.log('All the different ways that an Array can be stringified: ') var formatters = [logs, json, xml] formatters.forEach(function (module) { console.log(module.name + '.toString: "' + module.toString(array) + '"') }) } if (module.id === '.') exports.runExample()
Close