Skip to content

Instantly share code, notes, and snippets.

@kylefrost
Created February 17, 2017 16:48
Show Gist options
  • Save kylefrost/d84372761fc3cf2e1d3f7c4322898ae7 to your computer and use it in GitHub Desktop.
Save kylefrost/d84372761fc3cf2e1d3f7c4322898ae7 to your computer and use it in GitHub Desktop.
Obfuscation
(lambda _, __, ___, ____, _____, ______, _______, ________:
getattr(
__import__(True.__class__.__name__[_] + [].__class__.__name__[__]),
().__class__.__eq__.__class__.__name__[:__] +
().__iter__().__class__.__name__[_____:________]
)(
_, (lambda _, __, ___: _(_, __, ___))(
lambda _, __, ___:
chr(___ % __) + _(_, __, ___ // __) if ___ else
(lambda: _).func_code.co_lnotab,
_ << ________,
(((_____ << ____) + _) << ((((_ << ____) + _) << ___) - ___)) + (((((___ << __) - _) << ____) + ___) << ((((_ << ____) - _) << ___) + _)) + (((_______ << _____) - _______) << ((_______ << ____) - _)) - (((((___ << __) + _) << __) + _) << ((((___ << __) + _) << ___) - _)) - (((___ << ___) + _) << ((___ << _____) - _)) - (((_______ << __) - _) << ((((___ << __) - _) << ___) - _)) - (((((___ << __) - _) << ___) - ___) << ((_____ << ____) - ___)) + (((_ << _____) - _) << (((((_ << ___) + _)) << ___) - _)) - (((_______ << ___) - _) << ((((_ << ____) - _) << __) + _)) + (((((___ << __) + _) << ___) + ___) << ((___ << ____))) + (((___ << ___) + _) << ((_____ << ___) + (_ << _))) - (((((_ << ____) + _) << __) + _) << ((_ << _____) + _)) - (((_____ << __) - _) << ((_______ << __) - _)) - (((_ << ____) - _) << ((_____ << __) + _)) + (_______ << ((___ << __))) - (((___ << ___) - _) << ___) - _
)
)
)(
*(lambda _, __, ___: _(_, __, ___))(
(lambda _, __, ___:
[__(___[(lambda: _).func_code.co_nlocals])] +
_(_, __, ___[(lambda _: _).func_code.co_nlocals:]) if ___ else []
),
lambda _: _.func_code.co_argcount,
(
lambda _: _,
lambda _, __: _,
lambda _, __, ___: _,
lambda _, __, ___, ____: _,
lambda _, __, ___, ____, _____: _,
lambda _, __, ___, ____, _____, ______: _,
lambda _, __, ___, ____, _____, ______, _______: _,
lambda _, __, ___, ____, _____, ______, _______, ________: _
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment