How to use the andriller.windows.LockscreenBase 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 / windows.py View on Github external
logger.info(f'Lockscreen credential found: {result}')
            else:
                self.result_field.configure(foreground='black')
                self.RESULT.set('Stopped!' if self.STOP.get() else 'Not found!')
        except Exception as err:
            messagebox.showwarning('Error', str(err))
        finally:
            self.STOP.set(0)
            self.menubar.entryconfig(0, state=tk.NORMAL)
            self.start_button.configure(state=tk.NORMAL)
            self.stop_button.configure(state=tk.DISABLED)
            self.close_button.configure(state=tk.NORMAL)


# --------------------------------------------------------------------------- #
class BruteGenPin(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen PIN Cracking (Generic)'):
        super().__init__(root=root, title=title)
        self.enable_pin_range()


class BruteSamPin(BruteGenPin):
    def __init__(self, root=None, title='Lockscreen PIN Cracking (Samsung)'):
        super().__init__(root=root, title=title)

    def start(self, samsung=True):
        super().start(samsung=samsung)


class BruteGenDict(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Dictionary (Generic)'):
        super().__init__(root=root, title=title)
github den4uk / andriller / andriller / windows.py View on Github external
def start(self, samsung=True):
        super().start(samsung=samsung)


class BruteGenDict(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Dictionary (Generic)'):
        super().__init__(root=root, title=title)
        self.enable_wordlist()
        self.enable_stats()

    def start(self):
        dict_file = self.DICTFILE.get()
        super().start(alpha=True, dict_file=dict_file)


class BruteSamDict(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Dictionary (Samsung)'):
        super().__init__(root=root, title=title)
        self.enable_wordlist()
        self.enable_stats()

    def start(self):
        dict_file = self.DICTFILE.get()
        super().start(alpha=True, samsung=True, dict_file=dict_file)


class BruteForceGen(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Brute-Force (Generic)'):
        super().__init__(root=root, title=title)
        self.enable_alpha_range()
        self.enable_stats()
        self.enable_progress()
github den4uk / andriller / andriller / windows.py View on Github external
dict_file = self.DICTFILE.get()
        super().start(alpha=True, dict_file=dict_file)


class BruteSamDict(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Dictionary (Samsung)'):
        super().__init__(root=root, title=title)
        self.enable_wordlist()
        self.enable_stats()

    def start(self):
        dict_file = self.DICTFILE.get()
        super().start(alpha=True, samsung=True, dict_file=dict_file)


class BruteForceGen(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Brute-Force (Generic)'):
        super().__init__(root=root, title=title)
        self.enable_alpha_range()
        self.enable_stats()
        self.enable_progress()

    def make_range(self):
        selection = ''.join([k for k, v in {
            string.ascii_lowercase: self.LOWER.get(),
            string.ascii_uppercase: self.UPPER.get(),
            string.digits: self.DIGITS.get(),
            self.CUSTVALS.get(): self.CUSTOM.get(),
        }.items() if v])
        return selection

    def start(self):
github den4uk / andriller / andriller / windows.py View on Github external
# --------------------------------------------------------------------------- #
class BruteGenPin(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen PIN Cracking (Generic)'):
        super().__init__(root=root, title=title)
        self.enable_pin_range()


class BruteSamPin(BruteGenPin):
    def __init__(self, root=None, title='Lockscreen PIN Cracking (Samsung)'):
        super().__init__(root=root, title=title)

    def start(self, samsung=True):
        super().start(samsung=samsung)


class BruteGenDict(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Dictionary (Generic)'):
        super().__init__(root=root, title=title)
        self.enable_wordlist()
        self.enable_stats()

    def start(self):
        dict_file = self.DICTFILE.get()
        super().start(alpha=True, dict_file=dict_file)


class BruteSamDict(LockscreenBase):
    def __init__(self, root=None, title='Lockscreen Password by Dictionary (Samsung)'):
        super().__init__(root=root, title=title)
        self.enable_wordlist()
        self.enable_stats()