Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Hidden Eval

First you'll need this code above your evals, anywhere in the code (I mean, so long as it's in scope)
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]
fuck i probably got ratted at least once before up till now from all the shady pythons i try from github


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by simmerApr 9, 2022 02:34 PM 5 246 Apr 9, 2022 02:34 PM
Last Post: simmer
[Python] by CALL_ME_FORKMar 10, 2016 04:43 PM 9 184 Mar 10, 2016 04:43 PM
Last Post: CALL_ME_FORK
[.NET] by VoidlightAug 26, 2014 07:56 AM 16 1,228 Aug 26, 2014 07:56 AM
Last Post: Voidlight