/webROP eggs

Created Sun, 19 Feb 2023 18:34:51 +0100
171 Words

webROP eggs

For more information see: webROP

// webROP-eggs.js
// A collection of useful webROP eggs
// © Jean Pereira <counterswarm.de>

const browserEggs = [
  (atob(0xB9386F)+[])[5]             , // ;
  (atob(0xA93445)+[])[2]             , // <
  (atob(0x2005DD)+[])[2]             , // |
  (atob(0xB5849A)+[])[1]             , // _
  (new CSSKeywordValue(1)+[])[0]     , // \
  (new CSSMathNegate(1)+[])[5]       , // -
  (Array(2)+[])                      , // ,
  (1/2+[])[1]                        , // .
  (4e38+[])[2]                       , // +
  (btoa(1)+[])[2]                    , // =
  (encodeURIComponent(2e24)+[])[2]   , // %
  (unescape(escape(Map)[8]+22))      , // %
  (new RegExp+[])[0]                 , // /
  (new RegExp+[])[2]                 , // ?
  (new RegExp+[])[3]                 , // :
]

const chromeEggs = [
  clientInformation['vendor'][10]                          , // .
  (chrome['csi']()['pageT']+[])[5]                         , // .
  speechSynthesis.getVoices()                              , // Array (R/W)
  navigator.getGamepads()                                  , // Array (R/W)
  PerformanceObserver.supportedEntryTypes                  , // Array (R)
  PushManager.supportedContentEncodings                    , // Array (R)
  this[[PerformanceObserver.supportedEntryTypes[8]]]       , // Navigator
  SVGFEFuncGElement.SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY  , // 1 (R)
  WebGL2RenderingContext.ONE                               , // 1 (R)
]

const wildcardROPEggs = [
  (Ink+[])[8]                        , // SPACE
  (Ink+[])[12]                       , // (
  (Ink+[])[13]                       , // )
  (Ink+[])[15]                       , // {
  (Ink+[])[31]                       , // }
  (Ink+[])[17]                       , // [
  (Ink+[])[29]                       , // ]
]