Shibuya.XSS techtalk #10 の発表資料です。
|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>
View Slide
•••
••http://utf-8.jp/public/jjencode.html
••
••0 1 2 3 4 5 6 7 8 9a b c d e f g h i j k l m n o p q r s t u v w x y zA B C D E F G H I J K L M N O P Q R S T U V W X Y Z
BANG!
|>
https://github.com/tc39/proposal-pipeline-operatorThe pipeline operator is essentially a useful syntacticsugar on a function call with a single argument.|>
alert(1)
1 |> alert
•[]()!+|>8-2=6
•[] !+|>6-1=5
•[]+|>5
> Function("alert(1)")< ƒ anonymous() {alert(1)}
> Function("alert(1)")()OK
> [].constructor
> []["constructor"]
> []["constructor"] === Array< true> []["constructor"]["constructor"] === Function< true
> []["constructor"]["constructor"]("alert(1)")()OK
> []["constructor"]["constructor"]("CODE")()
> "CODE"|>[]["constructor"]["constructor"]> []["constructor"]["constructor"]("CODE")
> []|>"CODE"|>[]["constructor"]["constructor"]> []["constructor"]["constructor"]("CODE")()
exclaim(capitalize(doubleSay("hello")));"hello"|> doubleSay|> capitalize|> exclaim;
> ("CODE"|>[]["constructor"]["constructor"])()
> ["CODE"|>[]["constructor"]["constructor"]][0]()( Expression ) [ Expression ][0]
> []|>["CODE"|>[]["constructor"]["constructor"]][0]
//JSFuckの基本型[]["constructor"]["constructor"]("CODE")()//5文字JSの基本型[]|>["CODE"|>[]["constructor"]["constructor"]][0]
> +[]< 0
> []>[]< false> [0]>[]< true
> [][[]]< undefined
> +[true][0]< 1> +[true][0]+[true][0]< 2> +[true][0]+[true][0]+[true][0]< 3> ...
> [true][0]+[]< "true"> [false][0]+[]< "false"> [undefined][0]+[]< "undefined"
> ["true"][0][0]< "t"> ["true"][0][1]< "r"> ["true"][0][2]< "u"
> []["fill"]+[]< "function fill() { [native code] }"
[[][[[[]>[]]+[]][+[]][+[]]+[[[[]>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+[]]+[[+[]]>[]][+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[+[]]>[]]+[]][+[]][+[[+[]]>[]][+[]]]
> []|>["alert(1)"|>[]["constructor"]["constructor"]][0]
[]|>[[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[+[]]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[+[]]>[]]+[]][+[]][+[[+[]]>[]][+[]]]+[[[+[]]>[]]+[]][+[]][+[]]+[[][[[[]>[]]+[]][+[]][+[]]+[[[[]>[]]+[]][+[]]+[][[]]][+[]][+[[+[]]>[]][+[]]+[+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]]+[]][+[]][+[[+[]]>[]][+[]]+[+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]]+[+[[+[]]>[]][+[]]][+[]]+[[][[[[]>[]]+[]][+[]][+[]]+[[[[]>[]]+[]][+[]]+[][[]]][+[]][+[[+[]]>[]][+[]]+[+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]]+[]][+[]][+[[+[]]>[]][+[]]+[+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]]|>[][[[][[[[]>[]]+[]][+[]][+[]]+[[[[]>[]]+[]][+[]]+[][[]]][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+[]]]+[[[+[]]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[][[[[]>[]]+[]][+[]][+[]]+[[[[]>[]]+[]][+[]]+[][[]]][+[]][+[[+[]]>[]][+[]]+[+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[+[]]>[]]+[]][+[]][+[]]+[[][[[[]>[]]+[]][+[]][+[]]+[[[[]>[]]+[]][+[]]+[][[]]][+[]][+[[+[]]>[]][+[]]+[+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[]>[]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]]+[]][+[]][+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]+[[+[]]>[]][+[]]]+[[[+[]]>[]]+[]][+[]][+[[+[]]>[]][+[]]]]][+[]]OK
unescape("%u0051")
https://syllab.fr/projets/experiments/xcharsjs/5chars.pipeline.htmlhttps://babeljs.io/repl/build/5099/#?babili=false&browsers=&build=&builtIns=false&code_lz=IwHwfAhgNgpgTgFyA&debug=false&circleciRepo=&evaluate=true&lineWrap=false&presets=stage-0&prettier=false&targets=&version=7.0.0-beta.2%2Bpr.6335
|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>|>