Codeview

[ Find the Vulnerability in Code ]

Beginner levels

Injection [ php ]filedump [ php ]alertme [ js ]polluteMe [ js ]It'sDoneOnlyResource

    var merge = function(target, source) {
        for(var attr in source) {
           if(typeof(target[attr]) === "object" && typeof(source[attr]) === "object")
             {
                merge(target[attr], source[attr]);
            } else {
                target[attr] = source[attr];
            }
        }
        return target;
    };
    

[ hint: ever heard of __proto__ ]


← Back
Next →