ass format), split the email and temporarily store it in the username variable and split the password and store it in the password variable. Once that's done the program will test this combo for fitbi*****m and return the result. Once it has tested it, it will go to the next line of the combolist.txt file and repeat the process. How can I open the file and split the combo accordingly and store the string in the 2 variables in python? Any help would be very appreaciated!!
with open('file.txt', 'r') as combolist:
for combo in combolist:
split = combo.split()
if len(split) < 2:
continue
username = split[0]
password = split[1]
# Attempt login here
with open('file.txt', 'r') as combolist:
for combo in combolist:
split = combo.split(:)
if len(split) < 2:
continue
username = split[0]
password = split[1]
# Attempt login here