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: Sunday, September 22, 2024 at 7:23:07 AM
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('');
}
}