Giter Site home page Giter Site logo

encrypt-kebal's People

Contributors

clayhacker-max avatar

Watchers

 avatar  avatar

encrypt-kebal's Issues

Decompiled source

import argparse
import os,sys
from collections import OrderedDict
from pprint import pformat
__created__ = 'Mr.Gaming'
__github__ = 'Github : https://github.com/clayhacker-max'
B = '\x1b[34m'
R = '\x1b[31m'
W = '\x1b[0m'
Y = '\x1b[33;5m'
os.system('clear')
print """
\033[36m---------------------------------------------
\033[37m\033[41m[#] Authour : Mr.Gaming | black Coder Crush  \033[00m
---------------------------------------------
                    [ \033[37m\033[41m Asep Ramdan\033[00m ][\033[32m V 0.7\033[00m ][ \033[37m\033[41m2020\033[00m ]
                    __________________________________
                      \033[31m     [ \033[32mEncrypt Python2\033[31m ]\033[00m"""
try:
    range = xrange
except NameError:
    pass

EMOTICONS = ['Asep_Ramdan<+>Nurul_Khotimah', '1', '2', '3', '4', '5', '6', '7', '8', '9']
MAX_STR_LEN = 10000

def run_argparse():
    var_args = argparse.ArgumentParser(description='\n Obfuscate your python script by converting an input script to an output script\n Created By : Mr.Gaming')
    var_args.add_argument('-i', '--input', required=True, help='input python script name')
    var_args.add_argument('-o', '--output', required=True, help='output python script name')
    return var_args.parse_args()


def chunk_string(par_a, par_b):
    return ('\n').join(('{}\\').format(par_a[var_x:var_x + par_b]) for var_x in range(0, len(par_a), par_b)).rstrip('\\')


def encode_string(par_1, par_2):
    """"""
    var_dict = OrderedDict(enumerate(par_2))
    var_what = OrderedDict((var_i, var_j) for var_j, var_i in var_dict.items())
    return ('#Peler Bapa Kow Kontol\n#Encrypted By [Mr.Gaming][Nurul Khotimah]\n#Github : https://github.com/clayhacker-max/\n#Jangan Di Edit Nanti Erorr | Anti Record Cok Kebal !!!\n#Kalau Ndak Percaya Coba Ajah Sendiri Record !!\nfrom collections import OrderedDict\nexec("".join(map(chr,[int("".join(str({}[i]) for i in x.split())) for x in\n"{}"\n.split("  ")])))\n').format(pformat(var_what), chunk_string(('  ').join((' ').join(var_dict[int(var_y)] for var_y in str(ord(var_z))) for var_z in par_1), MAX_STR_LEN))


def main(par_3, par_4):
    """"""
    with open(par_3) as (var_fsrc):
        with open(par_4, 'w') as (var_fdst):
            var_fdst.write(encode_string(var_fsrc.read(), EMOTICONS))


if __name__ == '__main__':
    args = run_argparse()
    main(args.input, args.output)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.