How to use the andriller.statics function in andriller

To help you get started, we’ve selected a few andriller examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github den4uk / andriller / andriller / config.py View on Github external
def default_user_config(cls):
        return {
            cls.NS: {
                'version': __version__,
                'default_path': os.path.expanduser('~'),
                'last_path': os.path.expanduser('~'),
                'dict_path': os.path.expanduser('~'),
                'update_rate': 100000,
                'offline_mode': 0,
                'window_size': 20,
                'save_log': 1,
                'theme': '',
                'date_format': 'Y-m-d H:M:S Z',
                'time_zone': 'UTC',
                'custom_header': statics.DEFAULT_HEADER,
                'custom_footer': statics.DEFAULT_FOOTER,
            },
github den4uk / andriller / andriller / config.py View on Github external
def default_user_config(cls):
        return {
            cls.NS: {
                'version': __version__,
                'default_path': os.path.expanduser('~'),
                'last_path': os.path.expanduser('~'),
                'dict_path': os.path.expanduser('~'),
                'update_rate': 100000,
                'offline_mode': 0,
                'window_size': 20,
                'save_log': 1,
                'theme': '',
                'date_format': 'Y-m-d H:M:S Z',
                'time_zone': 'UTC',
                'custom_header': statics.DEFAULT_HEADER,
                'custom_footer': statics.DEFAULT_FOOTER,
            },
github den4uk / andriller / andriller / windows.py View on Github external
def __init__(self, root=None, title='WhatsApp Crypt Decryptor'):
        super().__init__(root=root, title=title)
        self.guide = statics.WHATSAPP_CRYPT
        self.work_dir = None
        self.crypts = {}
        self.key_file = None
        self.supported = self.get_supported()
        self._info = tk.StringVar()
        self._info_but = tk.StringVar()
        self._info_but.set('Show Info')

        ttk.Label(self.mainframe, text=title, font=self.FontTitle).grid(row=1, column=0, columnspan=2)
        tk.Button(self.mainframe, textvariable=self._info_but, relief='flat', command=self.info_toggle)\
            .grid(row=1, column=2, columnspan=1, sticky=tk.E)
        ttk.Label(self.mainframe, textvar=self._info).grid(row=5, column=0, columnspan=3, sticky=self.WE)

        self.dir_label = tk.StringVar()
        self.dir_but = ttk.Button(self.mainframe, text='Select directory', command=self.set_dir)
        self.dir_but.grid(row=10, column=0, columnspan=1, sticky=tk.W)
github den4uk / andriller / andriller / windows.py View on Github external
def info_toggle(self):
        (self._info.set(''), self._info_but.set('Show Info')) if self._info.get() \
            else (self._info.set(statics.WHATSAPP_CRYPT), self._info_but.set('Hide Info'))