cdataCopy

This tag performs a crazy obfuscation using CDATA tags.

Created by: n0ggi3
Installed 1 times

Category: XSS

Created on: Tuesday, December 17, 2024 at 5:33:11 PM

Updated on: Saturday, December 21, 2024 at 3:10:54 PM

Tag arguments
[]
Code
class cdataCopy {
  encode(input, arg1) {
    return (
      "<svg><script>" +
      input
        .split("")
        .map((chr) => "<![CDATA[" + chr + "]]>")
        .join("") +
      "</script></svg>"
    );
  }
}