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



   3680

[SOURCE] Base Classes and Utility Functions for your Python Checkers

by UberFuck - 06 March, 2022 - 02:14 AM
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.555
Posts
375
Threads
5 Years of service
#1
(This post was last modified: 07 March, 2022 - 08:21 AM by UberFuck. Edited 1 time in total.)
Sharing some common classes and utility functions that I have reused on several projects.  All code works in linux, windows, and macOS on python 3.8+ (recaptcha class implements cached property introduced in 3.8). 

Here's what's included:
  • Captcha.py
    • Recaptcha: Base class for solving hidden ReCaptchas.  * Note: this does not work for solving ReCaptchas with images
  • Combos.py
    • UserCombo: Base class for working with user combos.
    • EmailCombo: Base class for working with email combos. Subclass of UserCombo. Functions for splitting email address to username and domain and reusing combo with a different domain.
    • Both classes have functions for loading combo files, which will remove duplicates and strip any capture data; both have implementations for  __hash__(), __str__(), and __eq__()
  • ResultTypes.py
    • ResultType: An enum class for defining return result types (ie success, failure, captcha, 2fa, etc)
  • Utilities.py
    • ClearScreen(): Basic function, but reused in almost every project.
    • LoadJsonFile(): Basic function to just read a json file and return it as a dict or list.
    • LoadProxyFile(): Loads a proxy file and returns a list of proxies as strings.  Any duplicates are removed.  Converts a proxy format of url:port:username:password to username:password@url:port to work with requests and aiohttp modules.


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

This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.555
Posts
375
Threads
5 Years of service
#2
This is a bump
This post is by a banned member (HungThinh) - Unhide
This post is by a banned member (blackbeard0) - Unhide
This post is by a banned member (egeselvi) - Unhide
egeselvi  
Registered
24
Posts
0
Threads
3 Years of service
#5
thanks
This post is by a banned member (kvzzy1211) - Unhide
kvzzy1211  
Registered
22
Posts
1
Threads
3 Years of service
#6
(06 March, 2022 - 02:14 AM)foxegado Wrote: Show More
Sharing some common classes and utility functions that I have reused on several projects.  All code works in linux, windows, and macOS on python 3.8+ (recaptcha class implements cached property introduced in 3.8). 

Here's what's included:
  • Captcha.py
    • Recaptcha: Base class for solving hidden ReCaptchas.  * Note: this does not work for solving ReCaptchas with images
  • Combos.py
    • UserCombo: Base class for working with user combos.
    • EmailCombo: Base class for working with email combos. Subclass of UserCombo. Functions for splitting email address to username and domain and reusing combo with a different domain.
    • Both classes have functions for loading combo files, which will remove duplicates and strip any capture data; both have implementations for  __hash__(), __str__(), and __eq__()
  • ResultTypes.py
    • ResultType: An enum class for defining return result types (ie success, failure, captcha, 2fa, etc)
  • Utilities.py
    • ClearScreen(): Basic function, but reused in almost every project.
    • LoadJsonFile(): Basic function to just read a json file and return it as a dict or list.
    • LoadProxyFile(): Loads a proxy file and returns a list of proxies as strings.  Any duplicates are removed.  Converts a proxy format of url:port:username:password to username:password@url:port to work with requests and aiohttp modules.
ijhfwsaoirwaboirbnaweawe+ae
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.555
Posts
375
Threads
5 Years of service
#7
This is a bump
This post is by a banned member (SirDank) - Unhide
SirDank  
Supreme
1.870
Posts
54
Threads
5 Years of service
#8
ngl this shit fire
gg man

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)