emailllllll

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: sinaayeganeh
Installed 1 times

Category: Convert

Created on: Monday, February 3, 2025 at 9:10:45 AM

Updated on: Tuesday, February 4, 2025 at 4:32:47 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 emailllllll {
  encode(input, charset, type) {
     return `=?${charset}?${type}?${input}?=`;
  }
}