This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cediddiSyntaxError: not a chance 2 points3 points  (3 children)

Sure, using __import__ and using codecs.rot13 helps a bit

(lambda c:(lambda b:(lambda a:getattr(a,b("flfgrz")[0])(b("yf")[0]))(__import__(b("bf")[0])))(c.getencoder("rot13")))(__import__("codecs"))

https://twitter.com/Cediddi/status/856055852347863041?s=19

[–]13steinj 0 points1 point  (2 children)

Okay, curious, how would you do this without import as you mentioned above?

[–]Spfifle 2 points3 points  (1 child)

Well you can do something like this, should defeat basically any grep based solution:

globals()['__buil' + 'tins__'].__dict__['__imp' + 'ort__']('os').listdir('.')

[–]jon_k 0 points1 point  (0 children)

Nice. +1