Mar 9, 2022 09:05 AM
(This post was last modified: Mar 9, 2022 09:06 AM by MiguelSanchez.)
First you'll need this code above your evals, anywhere in the code (I mean, so long as it's in scope)
The eval is encoded as O0[O(OO)]
There'd be neater ways to do it, but I really wanted to cover a few bases, I think even experienced python programmers will probably pick up a trick.
I thought I remembered py2 allowing comparisons between dictionaries and tuples, but I couldn't do any gross stuff with that 😥
Enjoy
Code
O0=__builtins__.__dict__
oO,Ooo="6576616C","rchtyz"
oOo=sorted(Ooo)[:3]
Oo=-~False-~False;oOo="".join(oOo)
oo=-~(''=='')-~(''=='')<<Oo
OO=type(~False)(oO,oo)
O=lambda o: "" if o==0 else O(int(o/256))+O0[oOo](o%256)The eval is encoded as O0[O(OO)]
Code
O0[O(OO)](1+1) #eval(1+1)There'd be neater ways to do it, but I really wanted to cover a few bases, I think even experienced python programmers will probably pick up a trick.
I thought I remembered py2 allowing comparisons between dictionaries and tuples, but I couldn't do any gross stuff with that 😥
Enjoy


![[Image: zzzscreen.gif]](https://trogramming.com/blog/wp-content/uploads/2022/03/zzzscreen.gif)