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



 3496

Want to learn how to create account checkers/creators with Python

by Apostorial - 12 January, 2022 - 02:40 PM
This post is by a banned member (Apostorial) - Unhide
1.612
Posts
768
Threads
5 Years of service
#1
So yeah title says it all, I already know the basic and some intermediate stuff of Python, I looked for a bit for tutorials but they don't cover much stuff and the stuff doesn't work
This post is by a banned member (OnyxRoot) - Unhide
OnyxRoot  
Registered
345
Posts
7
Threads
4 Years of service
#2
You could probably go find some opensource checkers on c.io etc and learn from them.
This post is by a banned member (Apostorial) - Unhide
1.612
Posts
768
Threads
5 Years of service
#3
(12 January, 2022 - 02:56 PM)OnyxRoot Wrote: Show More
You could probably go find some opensource checkers on c.io etc and learn from them.

I tried, some of them use APIs, some don't work and I don't understand some syntax of modules used even if I google I don't find what I look for
This post is by a banned member (Code) - Unhide
Code  
Supreme
443
Posts
79
Threads
3 Years of service
#4
which modules do you need help with ?
 
 
This post is by a banned member (Apostorial) - Unhide
1.612
Posts
768
Threads
5 Years of service
#5
(13 January, 2022 - 04:21 PM)Iwannaexplode Wrote: Show More
which modules do you need help with ?

Requests, threading I guess. I don't know much about account checking/creation but I think those two are the main modules
This post is by a banned member (Code) - Unhide
Code  
Supreme
443
Posts
79
Threads
3 Years of service
#6
(This post was last modified: 13 January, 2022 - 05:09 PM by Code. Edited 1 time in total.)
requests is pretty easy : define your headers in a dict / define your payload/url : (the payload depends on the site, meaning it can be a dict or a string)
Code:
proxy = {'http': 'http://...'}
headers = {'User-Agent': '...', 'Accept': '...'}
payload = {'username': 'user', 'password': 'pass'}
url = 'https://example.com/'
response = requests.post(url=url, data=payload, headers=headers, proxies=proxy)
 
if you need to parse some cookies before/after just do a get request to the url where you can get the cookie and parse it by using response.cookies['cookie_needed'] : 
same thing if the response is in json : response.json()['key']


To check if a string is in the response you can check it by : 
Code:
if 'string_here' in response.text:
    ....
idk if this is clear but yeah....

then for threading there's multiple methods to implement it. You can test yourself and see which one suits you best.
Idk if this 'guide' was clear since i did it quickly. Hope it helps
 
 
This post is by a banned member (Apostorial) - Unhide
1.612
Posts
768
Threads
5 Years of service
#7
(This post was last modified: 13 January, 2022 - 07:35 PM by Apostorial.)
(13 January, 2022 - 05:03 PM)Iwannaexplode Wrote: Show More
requests is pretty easy : define your headers in a dict / define your payload/url : (the payload depends on the site, meaning it can be a dict or a string)
Code:
proxy = {'http': 'http://...'}
headers = {'User-Agent': '...', 'Accept': '...'}
payload = {'username': 'user', 'password': 'pass'}
url = 'https://example.com/'
response = requests.post(url=url, data=payload, headers=headers, proxies=proxy)
 
if you need to parse some cookies before/after just do a get request to the url where you can get the cookie and parse it by using response.cookies['cookie_needed'] : 
same thing if the response is in json : response.json()['key']


To check if a string is in the response you can check it by : 
Code:
if 'string_here' in response.text:
    ....
idk if this is clear but yeah....

then for threading there's multiple methods to implement it. You can test yourself and see which one suits you best.
Idk if this 'guide' was clear since i did it quickly. Hope it helps

sheesh man, I have a question. Do you know how can I ask the user the load his own proxies? Like without having a proxies text file with the main.py ya know, he can just load his own. Can do that with the combolist too and the if "string" in response.text doesn't work for me idk why, for example the "incorrect password" string that shows in red when the password is incorrect isn't detected in response.text

(13 January, 2022 - 05:03 PM)Iwannaexplode Wrote: Show More
requests is pretty easy : define your headers in a dict / define your payload/url : (the payload depends on the site, meaning it can be a dict or a string)
Code:
proxy = {'http': 'http://...'}
headers = {'User-Agent': '...', 'Accept': '...'}
payload = {'username': 'user', 'password': 'pass'}
url = 'https://example.com/'
response = requests.post(url=url, data=payload, headers=headers, proxies=proxy)
 
if you need to parse some cookies before/after just do a get request to the url where you can get the cookie and parse it by using response.cookies['cookie_needed'] : 
same thing if the response is in json : response.json()['key']


To check if a string is in the response you can check it by : 
Code:
if 'string_here' in response.text:
    ....
idk if this is clear but yeah....

then for threading there's multiple methods to implement it. You can test yourself and see which one suits you best.
Idk if this 'guide' was clear since i did it quickly. Hope it helps

I figured out the open file part
This post is by a banned member (Code) - Unhide
Code  
Supreme
443
Posts
79
Threads
3 Years of service
#8
(13 January, 2022 - 05:32 PM)Apostorial Wrote: Show More
(13 January, 2022 - 05:03 PM)Iwannaexplode Wrote: Show More
requests is pretty easy : define your headers in a dict / define your payload/url : (the payload depends on the site, meaning it can be a dict or a string)
Code:
proxy = {'http': 'http://...'}
headers = {'User-Agent': '...', 'Accept': '...'}
payload = {'username': 'user', 'password': 'pass'}
url = 'https://example.com/'
response = requests.post(url=url, data=payload, headers=headers, proxies=proxy)
 
if you need to parse some cookies before/after just do a get request to the url where you can get the cookie and parse it by using response.cookies['cookie_needed'] : 
same thing if the response is in json : response.json()['key']


To check if a string is in the response you can check it by : 
Code:
if 'string_here' in response.text:
    ....
idk if this is clear but yeah....

then for threading there's multiple methods to implement it. You can test yourself and see which one suits you best.
Idk if this 'guide' was clear since i did it quickly. Hope it helps

sheesh man, I have a question. Do you know how can I ask the user the load his own proxies? Like without having a proxies text file with the main.py ya know, he can just load his own. Can do that with the combolist too and the if "string" in response.text doesn't work for me idk why, for example the "incorrect password" string that shows in red when the password is incorrect isn't detected in response.text

(13 January, 2022 - 05:03 PM)Iwannaexplode Wrote: Show More
requests is pretty easy : define your headers in a dict / define your payload/url : (the payload depends on the site, meaning it can be a dict or a string)
Code:
proxy = {'http': 'http://...'}
headers = {'User-Agent': '...', 'Accept': '...'}
payload = {'username': 'user', 'password': 'pass'}
url = 'https://example.com/'
response = requests.post(url=url, data=payload, headers=headers, proxies=proxy)
 
if you need to parse some cookies before/after just do a get request to the url where you can get the cookie and parse it by using response.cookies['cookie_needed'] : 
same thing if the response is in json : response.json()['key']


To check if a string is in the response you can check it by : 
Code:
if 'string_here' in response.text:
    ....
idk if this is clear but yeah....

then for threading there's multiple methods to implement it. You can test yourself and see which one suits you best.
Idk if this 'guide' was clear since i did it quickly. Hope it helps

I figured out the open file part

use tkinter to get the proxies from the user. And for the response check your request because you prolly did something wrong

Tkinter example : 
Code:
 
import tkinter as tk
from tkinter import filedialog

root = tk.Tk()
root.withdraw()


proxies_path = filedialog.askopenfilename(title='Select your proxies')
 
 

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: 2 Guest(s)