all InfoSec news
Hijacking your JavaScript using prototype pollution
InfoSec Write-ups - Medium infosecwriteups.com
In JavaScript, prototypes are a fundamental concept that underpins inheritance and object-oriented programming. They act as blueprints that define the properties and methods that objects created from a constructor function can access. Imagine you have a bunch of colorful toys (objects) in JavaScript. Prototypes are like the special things each type of toy can do. Lions (objects) have sounds (methods), like a lion can roar (a method). When a lion gives birth to a new cub (another object), it already …
access act can concept cybersecurity ethical hacking function hijacking javascript object pollution programming prototype prototype-pollution special things toy web security xss-attack