• We just launched and are currently in beta. Join us as we build and grow the community.

How to split email:pass / user:pass

IssaNinja

Humor Guru
I Rep
0
0
0
Rep
0
I Vouches
0
0
0
Vouches
0
Posts
176
Likes
90
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 200 XP
How to split email(or user):pass to only pass or only email (python)
If you need anything related to this, for example splitting user:pass:something else or combining emails from 1 file with passwords or anything else from another file, PM me
Edit: it will now skip lines that are not in format
Code:
file1 = open('combo.txt', 'r')
output = open('done.txt', 'w')
for lijn in file1:
try:
a = lijn.split(':')
user_or_email = a[0]
passw = a[1]
print(str(user_or_email), file=output)
except IndexError:
continue
file1.close()
output.close()
#name your file combo.txt
#this script will get the email. If you want only password, change the last line to:
#print(str(passw), file=output)
Edited by AntiKeys, 29 April 2020 - 01:57 PM.
 

442,401

317,942

317,951

Top