Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   1080

[PYTHON] Combo converter | Simple source

by xyss - 02 August, 2022 - 11:26 AM
This post is by a banned member (xyss) - Unhide
xyss  
Supreme
259
Posts
31
Threads
3 Years of service
#1
(This post was last modified: 02 August, 2022 - 11:44 AM by xyss. Edited 3 times in total.)
Ever had the problem where your checker cant for example handle user:pass | Country:c | Penis length:p and you needed it like this: user:pass ?
This simple code should do the trick.



Hidden Content
You must register or login to view this content.

[Image: ethonebanner.gif]
This post is by a banned member (Code) - Unhide
Code  
Supreme
443
Posts
79
Threads
4 Years of service
#2
Code:
with open(filename, "r") as f:
    combo = f.readlines()

with open("cleaned.txt", "a") as f:
    for line in combo:
        f.write(line.split(" ")[0] + "\n")
   
 
 
This post is by a banned member (Alexloll) - Unhide
Alexloll  
Registered
5
Posts
0
Threads
3 Years of service
#3
(02 August, 2022 - 11:26 AM)xyss Wrote: Show More
Ever had the problem where your checker cant for example handle user:pass | Country:c | Penis length:p and you needed it like this: user:pass ?
This simple code should do the trick.

no DancingClown
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.555
Posts
375
Threads
5 Years of service
#4
The best way to handle it is to use classes for different types of combos and just reuse the classes for all your projects.  When you need to handle something different, just inherit the class and add / override whatever you need.

Reference example: https://cracked.sh/Thread-SOURCE-Base-Cl...n-Checkers
This post is by a banned member (hiteki7529) - Unhide
17
Posts
0
Threads
3 Years of service
#5
gg
This post is by a banned member (dsadfsasdsadafa) - Unhide
This post is by a banned member (databuttshell) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)