H4cK3dR4Du / Discord-Member-Booster

The best member booster for discord, super easy to use and effective! What are you waiting for to increase your servers?
https://radutool.org
235 stars 197 forks source link

where do i get the captcha api key? #5

Closed superfastisfast closed 4 months ago

superfastisfast commented 11 months ago

title

ksIsCute commented 11 months ago

https://capmonster.cloud/Dashboard

superfastisfast commented 11 months ago

right, but is it free?

ksIsCute commented 11 months ago

nah but u can spend like a dollar and geet like 3k tokens and members lfmao

superfastisfast commented 11 months ago

fine, ill code it myself using whisper

superfastisfast commented 11 months ago

ill send when i am done, i think its free..

superfastisfast commented 11 months ago

Import the required modules

from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities import time import json from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.common.by import By import requests import os import whisper import warnings warnings.filterwarnings("ignore")

model = whisper.load_model("base")

def transcribe(url): with open('.temp', 'wb') as f: f.write(requests.get(url).content) result = model.transcribe('.temp') return result["text"].strip()

def click_checkbox(driver): driver.switch_to.default_content() driver.switch_to.frame(driver.find_element(By.XPATH, ".//iframe[@title='reCAPTCHA']")) driver.find_element(By.ID, "recaptcha-anchor-label").click() driver.switch_to.default_content()

def request_audio_version(driver): driver.switch_to.default_content() driver.switch_to.frame(driver.find_element(By.XPATH, ".//iframe[@title='recaptcha challenge expires in two minutes']")) driver.find_element(By.ID, "recaptcha-audio-button").click()

def solve_audio_captcha(driver): text = transcribe(driver.find_element(By.ID, "audio-source").get_attribute('src')) driver.find_element(By.ID, "audio-response").send_keys(text) driver.find_element(By.ID, "recaptcha-verify-button").click()

if name == "main": driver = webdriver.Chrome(executable_path=ChromeDriverManager().install())

driver.get("https://www.google.com/recaptcha/api2/demo")
click_checkbox(driver)
time.sleep(1)
request_audio_version(driver)
time.sleep(1)
solve_audio_captcha(driver)
time.sleep(10)

found something useful

ksIsCute commented 11 months ago

what is that

superfastisfast commented 11 months ago

its a whisper captcha transciber

ksIsCute commented 11 months ago

does discord use it?

ksIsCute commented 11 months ago

File "C:\Users\willi\AppData\Local\Programs\Python\Python311\Lib\ctypes__init.py", line 366, in init__ if '/' in name or '\' in name: ^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

superfastisfast commented 11 months ago

no recaptchas have an audio thingy right, use the audio thingy, and download the mp3 file, use whisper to transcribe delete the mp3 file to keep it clean, and type the text

lonewolf-github commented 11 months ago

no recaptchas have an audio thingy right, use the audio thingy, and download the mp3 file, use whisper to transcribe delete the mp3 file to keep it clean, and type the text

discord uses hcaptcha though lol

NxyyLOL commented 5 months ago

and hcaptcha = no audio lmao, learn your history first

superfastisfast commented 4 months ago

didnt it use to use recap? Im prob to dumb to do anything but i finished the whisper thing