Can someone help me make this captcha breaker hotmail, outlook work?

cesario678

Client
Регистрация
10.03.2022
Сообщения
164
Благодарностей
11
Баллы
18
I have this script, but even after putting my API ID from 2captcha, it gets the token but then I don't know what to do. It doesn't solve the captcha or anything. What would be the next function to add? What should I do to make it work? Can someone help me?
 

Вложения

Destiny

Client
Регистрация
06.09.2018
Сообщения
7
Благодарностей
0
Баллы
1
I want to know too. This problem has troubled me a lot!
 

Mango Proxy

Seller
Регистрация
04.04.2023
Сообщения
76
Благодарностей
8
Баллы
8
Hello!

In order for your script to correctly solve captchas using the 2captcha API, it is important to correctly handle the received tokens and perform the following actions. Here is a step-by-step instruction and an example of what you need to do:

Steps to solve a captcha using the 2captcha API:
Getting a Token: You have already done this step and you have a token.

Checking the Token Status: After receiving the token, you need to send a request to the 2captcha API to see if the captcha is solved.

Submitting the Solution to the Site: Once you receive the response with the captcha solution, you need to submit it to the site you are trying to bypass.

Python code example:
python
Copy code
import requests
import time

API_KEY = 'YOUR_API_KEY_2CAPTCHA'
SITE_KEY = 'YOUR_SITE_KEY' # site key (reCAPTCHA key)
PAGE_URL = 'YOUR_URL' # URL of the page where you need to solve the captcha

# Step 1: Sending a request to solve the captcha
response = requests.get(
f'http://2captcha.com/in.php?key={API_KEY}&method=userrecaptcha&googlekey={SITE_KEY}&pageurl={PAGE_URL}'
)
captcha_id = response.text.split('|')[1]

# Step 2: Checking the status of the captcha solution
url = f"http://2captcha.com/res.php?key={API_KEY}&action=get&id={captcha_id}"
while True:
response = requests.get(url)
if response.text == 'CAPCHA_NOT_READY':
time.sleep(5) # wait 5 seconds before checking again
continue
if 'ERROR' in response.text:
raise Exception(f"Error solving captcha: {response.text}")
break

captcha_solution = response.text.split('|')[1]

# Step 3: Sending the captcha solution to the target site
# In this step, you need to integrate the solution into your script
# Example of using requests to send data

session = requests.Session()
response = session.post(PAGE_URL, data={
'g-recaptcha-response': captcha_solution,
'some_other_field': 'value', # other required form fields
})

print(response.content) # check the result

# Note: You may need to additionally process cookies, headers and other data

Using Mangoproxy, you can significantly simplify the process of solving captchas and increase the efficiency of your scripts. If you have any additional questions or need help with setting up a proxy, do not hesitate to contact us! We also give away free test traffic in our topic!

Good luck in your work!
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)