Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    odog8
    @odog8
    A, and a backtick ` because i can define a function in the library that evals unary
    AAAAAAAAAAAAA...
    Oops i mean AAAAAAAA...\
    ok nvm
    odog8
    @odog8
    b='';function a(x){if((x+[]).length){b+="0[]!+()"[(x+[]).length];return a}else{b='';return(eval(b))}} its done lol
    erennuygun
    @erennuygun
    hey guys how can i use jsfuck without these chars "! , () , =" for XSS
    Martin Kleppe
    @aemkei
    @erennuygun You might be able to use < instead of ! to convert to booleans. And use backticks instead of parentheses. See: https://github.com/aemkei/jsfuck#alternatives
    Ben gurung
    @becon:matrix.org
    [m]
    I am knew in this what it is in its simple explanation and what it does ?
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    this is so smart
    i read the source, i was wondering how eval would work, i never knew you could create functions from strings
    i'm gonna create a fork and find ways to create characters that aren't there yet
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    oh i gotta make sure it's supported in browser and node and stuff lmao
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    quote is gonna be impossible
    yo, uh, syntax error
    unknown81311
    @unknown81311
    how would you run btoa as a function?
    I got [][(([]["entries"]()+"")[2]+(!![]+[])[0]+(true+[]["flat"])[10]+(false+"")[1])]("str")
    1 reply
    I was trying to get typeOf but to get the p you need an m and for an m you need number witch you then need typeOf to get that. so it is sorta like a loop lol
    unknown81311
    @unknown81311
    nvm about the typeOf you can use ([]+(+[])["constructor"]) to get the Number
    and that also is a typeOf
    unknown81311
    @unknown81311
    I got fromCharCode
    _=+!+[]+!+[],$='',u=[][[]],c=([][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]]+[])[_+_-!+$]+([!![]]+[][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]])[+!+[]+[+[]]]+([][[]]+$)[+!+[]]+(![]+$)[_+_-!+$]+(!![]+$)[+[]]+(!![]+$)[+!+[]]+([][[]]+$)[+[]]+([][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]]+$)[_+_-!+$]+(!![]+$)[+[]]+([!![]]+[][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]],r=(!![]+$)[+!+[]]+(!![]+$)[_+_-!+$]+(!![]+$)[+[]]+(!![]+$)[_]+(!![]+$)[+!+[]]+([][[]]+$)[+!+[]]+(+[![]]+[][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]])[(+!+$)+$+(+!+$)]+(!![]+$)[_+_-!+$]+(![]+$)[_+_-!+$]+([][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]]+$)[_+_-!+$]+(![]+$)[+!+[]]+(+((_)+$+(+!+$)+$+(+!+$)))[((!![]+$)[+[]]+(!![]+[][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]])[(+!+$)+$+(+$)])+$[c][(u+[])[+!+[]]+(![]+[])[+!+[]]+([]+(+[])[c])[+!+[]+[+!+[]]]+(!![]+[])[_+_-!+$]]]((_+_-!+$)+$+(+!+$))[+!+[]]+(!![]+$)[_+_-!+$],f=([][(![]+$)[+[]]+([][[]]+$)[_+_+!+$]+(![]+$)[_]+(!![]+$)[+[]]+(!![]+$)[_+_-!+$]+(!![]+$)[+!+[]]])[c](r)()(($)[([][[]]+[])[_+_+!+$]+(!![]+$)[+[]]+(![]+$)[+!+[]]+(![]+$)[_]+([][[]]+[])[_+_+!+$]+([][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]]+$)[_+_-!+$]+(![]+$)[_+_-!+$]]())[_],_=(![]+$)[+[]]+(!![]+$)[+!+[]]+([][(!![]+$)[_+_-!+$]+(u+$)[+!+[]]+(!![]+$)[+[]]+(!![]+$)[+!+[]]+([][[]]+[])[_+_+!+$]+(!![]+$)[_+_-!+$]+(![]+$)[_+_-!+$]]()+$)[+(_)+(+[]+$)]+($+(+$)[c])[(+!+$)+$+(+!+$)]+f+(+((+!+$)+$+(+$)+$+(+!+$)))[((!![]+$)[+[]]+(!![]+[][(![]+$)[+[]]+(![]+$)[_]+(![]+$)[+!+[]]+(!![]+$)[+[]]])[(+!+$)+$+(+$)])+$[c][(u+[])[+!+[]]+(![]+[])[+!+[]]+([]+(+[])[c])[1+[+!+[]]]+(!![]+[])[_+_-!+$]]]((_)+$+(+!+$))[+!+[]]+(![]+$)[+!+[]]+(!![]+$)[+!+[]]+f+([][(!![]+$)[_+_-!+$]+(u+$)[+!+[]]+(!![]+$)[+[]]+(!![]+$)[+!+[]]+([][[]]+[])[_+_+!+$]+(!![]+$)[_+_-!+$]+(![]+$)[_+_-!+$]]()+$)[+(_)+(+[]+$)]+([][[]]+$)[_]+(!![]+$)[_+_-!+$]
    c is construct starts as 2 u is undefined(because I was having problems) $ is a blank string
    then finally
    becomes fromCharCode
    so then you can do $[c][_](69) to get E
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    oh Function exists
    (([]["entries"]()+"")[2]+(!![]+[])[0]+(true+[]["flat"])[10]+(false+"")[1])+([]["flat"]+"")[13]+("")["fontcolor"]()[12]+("")["fontcolor"]()[12]+([]["flat"]+"")[14]
    hmm
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    :point_up: Edit: (([]["entries"]()+"")[2]+(!![]+[])[0]+(true+[]["flat"])[10]+(false+"")[1])+([]["flat"]+"")[13]+("")["fontcolor"]()[12]+("")["fontcolor"]()[12]+([]["flat"]+"")[14]
    []["flat"]["constructor"]((true+"")[1]+(true+"")[3]+(true+"")[0]+(undefined+"")[0]+(true+"")[1]+(undefined+"")[1]+([]+[]["flat"])[8]+(false+"")[1]+(!![]+[])[0]+(true+[]["flat"])[10]+([]["entries"]()+"")[2]+([]["flat"]+"")[13]+("")["fontcolor"]()[12]+"ISMkJypAXl9gfH49"+("")["fontcolor"]()[12]+([]["flat"]+"")[14])() this is what i got but it's long and strings are going to make it way longer
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    :point_up: Edit: []["flat"]["constructor"]((true+"")[1]+(true+"")[3]+(true+"")[0]+(undefined+"")[0]+(true+"")[1]+(undefined+"")[1]+([]+[]["flat"])[8]+(false+"")[1]+(!![]+[])[0]+(true+[]["flat"])[10]+([]["entries"]()+"")[2]+([]["flat"]+"")[13]+("")["fontcolor"]()[12]+"ISMkJypAXl9gfH49"+("")["fontcolor"]()[12]+([]["flat"]+"")[14])()
    this is what i got but it's long and strings are going to make it way longer

    :point_up: Edit: []["flat"]["constructor"]((true+"")[1]+(true+"")[3]+(true+"")[0]+(undefined+"")[0]+(true+"")[1]+(undefined+"")[1]+([]+[]["flat"])[8]+(false+"")[1]+(!![]+[])[0]+(true+[]["flat"])[10]+([]["entries"]()+"")[2]+([]["flat"]+"")[13]+("")["fontcolor"]()[12]+"ISMkJypAXl9gfH49"+("")["fontcolor"]()[12]+([]["flat"]+"")[14])()

    this is what i got but it's long and strings are going to make it way longer

    :point_up: Edit: ```
    []["flat"]"constructor"[1]+(true+"")[3]+(true+"")[0]+(undefined+"")[0]+(true+"")[1]+(undefined+"")[1]+([]+[]["flat"])[8]+(false+"")[1]+(!![]+[])[0]+(true+[]["flat"])[10]+([]"entries"+"")[2]+([]["flat"]+"")[13]+("")"fontcolor"[12]+"ISMkJypAXl9gfH49"+("")"fontcolor"[12]+([]["flat"]+"")[14])()

    ```

    this is what i got but it's long and strings are going to make it way longer

    :point_up: Edit: []["flat"]["constructor"]((true+"")[1]+(true+"")[3]+(true+"")[0]+(undefined+"")[0]+(true+"")[1]+(undefined+"")[1]+([]+[]["flat"])[8]+(false+"")[1]+(!![]+[])[0]+(true+[]["flat"])[10]+([]["entries"]()+"")[2]+([]["flat"]+"")[13]+("")["fontcolor"]()[12]+"ISMkJypAXl9gfH49"+("")["fontcolor"]()[12]+([]["flat"]+"")[14])()

    this is what i got but it's long and strings are going to make it way longer

    :point_up: Edit: ```
    []["flat"]"constructor"[1]+(true+"")[3]+(true+"")[0]+(undefined+"")[0]+(true+"")[1]+(undefined+"")[1]+([]+[]["flat"])[8]+(false+"")[1]+(!![]+[])[0]+(true+[]["flat"])[10]+([]"entries"+"")[2]+([]["flat"]+"")[13]+("")"fontcolor"[12]+"ISMkJypAXl9gfH49"+("")"fontcolor"[12]+([]["flat"]+"")[14])()

    ```

    this is what i got but it's long and strings are going to make it way longer

    odog8
    @odog8
    so i think i found a new character set
    since '$' is a function now, (at least in chrome) we can use that
    1 reply
    "function $(selector, [startNode]) { [Command Line API] }"
    yeah its +[]$()
    im trying to see if i can minimize to 5!
    odog8
    @odog8
    [20][+[]]["to"+[[]+[]][+[]]["constructor"]["name"]]`21`
    anyone wanna see if they can work this out?
    1 reply
    []+$`
    odog8
    @odog8
    hmm how would you call a function with arguments using backticks
    1 reply
    odog8
    @odog8
    ooh you can get fromCodePoint
    but how do you get words inside the backticks...
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    oh it's a dom thing, not supported in things like node tho
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    wait nvm there seems to be a difference
    []+[] = ""
    [[]+[]] = [""]
    +[] = 0
    so basically the same thing
    oh nvm i forgot brackets
    makes sense if you don't want brackets i guess
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    have y'all thought of using Function (eval) with string escape codes?
    mekb the turtle
    @mekbturtle:matrix.org
    [m]
    i'm guessing it's not possible to get this