• Register now to get access to thousands of Tutorials, Leaked content, Hot NSFW and much more. Join us as we build and grow the community.

Advertise Here

Advertise Here

Advertise Here

Fast and Powerful combo sorter (Coded by me)

beatbreaker

Smart Home Guru
B Rep
0
0
0
Rep
0
B Vouches
0
0
0
Vouches
0
Posts
68
Likes
75
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 2 1000 XP
I updated my original combo sorter.
Please LIKE if you enjoy the script.
INFORMATION:
This will now go trough the folder you put this script in and all subfolders.
You can define domain name or country or anything you want really.
example ( Type without quotes ):
".de" will save all german combos.
"yahoo" will save all yahoo combos.
It went trough main folder and 11 subfolders totaling 121 files at around 100-300MB+ each file in about 16 minutes.
The 121 files extracted 1.25GB of lines with ".de"
it will show how long each file takes and it will tell you how long all of it took after it is done.
PREVIEW:
INSTALLATION:
Save all of the code to a python file.
Either right-click > Edit with IDLE > Press F5 to execute
or
open a terminal/cmd window and write python filename.py
Code:
Code:
import glob, os
import time
save = input("Name of the file you want to extract to: ")
domain = input("domain you wish to extract .com / .dk example(.co.uk): ")
then = time.time()
for filename in glob.iglob('**', recursive=True):
if filename.endswith(".txt"):
with open(filename, errors='ignore') as f:
lines = [l for l in f if domain in l]
with open(save+".txt", 'a') as fi:
for listitem in lines:
fi.write(listitem)
lines = open(save+'.txt', 'r', encoding="cp437", errors='ignore').readlines()
lines_set = set(lines)
out  = open(save+'NoDub.txt', 'w', encoding="cp437", errors='ignore')
for line in lines_set:
out.write(line)
now = time.time() #Time after it finished
print("It took: ", now-then, " seconds")
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

452,500

351,240

351,250

Top