home

DOM Clobbering Challenge #1

Your goal: Clobber window.domc

The first thing you can do with DOM Clobbering is adding arbitrary new properties to the window object, which is the goal of this challenge. The window object can be clobbered by most elements, however you cannot override existing properties. To clobber, you need to be able to insert an element into the DOM with the correct name or id attribute. Note that the attribute depends on the element you select.