Ejemplo n.º 1
0
    def __init__(self, username: str, threads: int, passlist_path: str):

        self.is_alive = True
        self.is_found = False

        self.password: str = None
        self.username: str = username
        self.last_password: str = None

        self.bots_per_proxy = 0
        self.total_threads: int = threads

        self.proxy_manager = ProxyManager()
        self.display = Display(username, passlist_path)
        self.password_manager = PasswordManager(username, passlist_path,
                                                threads, self.display)

        self.browsers: typing.List[Browser] = []
        self.active_passwords: typing.List[str] = []
        self.unstarted_browsers: typing.List[Browser] = []

        # Locks
        self.lock_browsers = threading.RLock()
        self.lock_unstarted_browsers = threading.RLock()

        self.lock_active_passwords = threading.RLock()
        self.lock_password_manager = threading.RLock()
Ejemplo n.º 2
0
 def __init__(self):
     self.passwords = PasswordManager()
     self.runner = ICFRunner('xmatch')
     self.runner.override = True
     self.current_user = None
     self.config = Config('icfcherry.conf')
     self.iidmanager = IIDmanager(self)
Ejemplo n.º 3
0
 def __init__(self, username, threads, passlist_path):
     self.browsers = []
     self.lock = RLock()
     self.password = None
     self.is_alive = True
     self.is_found = False
     self.bots_per_proxy = 0
     self.username = username
     self.last_password = None
     self.active_passwords = []
     self.proxy_manager = ProxyManager()
     self.display = Display(username, passlist_path)
     self.password_manager = PasswordManager(username,
                                             passlist_path, threads)
Ejemplo n.º 4
0
 def __init__(self):
     self.passwords = PasswordManager()
     self.runner = ICFRunner('xmatch')
     self.runner.override = True
     self.current_user = None