unicodeOverflow
This creates a unicode overflow that is described in my research: https://portswigger.net/research/splitting-the-email-atom
Created by: hackvertor
Installed 1 times
Category: Charsets
Created on: Saturday, September 14, 2024 at 11:39:26 PM
Updated on: Wednesday, November 20, 2024 at 5:32:25 PM
Tag arguments
[
{
"type": "number",
"help": "This specifies a mask to use to create the overflow. Mask is simply a number that when combined with the character creates an overflow.",
"defaultValue": "0x100"
}
]
Code
class unicodeOverflow {
encode(input, mask) {
return input.split('').map(chr =>
String.fromCodePoint(mask + chr.codePointAt())).join('');
}
}