encodedWordMeta
This tag creates the meta data required for encoded word in email parsing attacks. You can read more about it here: https://portswigger.net/research/splitting-the-email-atom
Created by: hackvertor
Installed 3 times
Category: Convert
Created on: Tuesday, September 17, 2024 at 12:06:07 PM
Updated on: Wednesday, November 20, 2024 at 5:32:25 PM
Tag arguments
[
{
"type": "string",
"help": "Provides a charset",
"defaultValue": "iso-8859-1"
},
{
"type": "quotelessString",
"help": "Provides a encoding type: q or b is supported",
"defaultValue": "q"
}
]
Code
class encodedWordMeta {
encode(input, charset, type) {
return `=?${charset}?${type}?${input}?=`;
}
}