Yadda ake warware google captcha kai tsaye tare da ReBreakCaptcha

Don ɗan lokaci a yanzu, yaƙin da ake yi da bots waɗanda ke da alhakin mamaye shafukan yanar gizo da ƙoƙarin taɓar da tsaron kowane shafin yanar gizon ya taurara. Ofaya daga cikin kayan aikin da aka fi amfani dasu don yaƙi da waɗannan ɓarnatattun masu kutse sune google captcha, musamman sigar ReCaptcha V2, pero lamentablemente se ha difundido una vulnerabilidad en esta herramienta que permite resolver las captcha de manera automática.

Labarin ilimi na gaba mai zuwa zai bamu damar keta tsaron ReCaptcha V2, yin amfani da zabin odiyo wanda yake bayarwa. Labarin ya samo asali ne daga shigarwa ta gaba, wanda a ciki aka bayyana yanayin rauni sosai kuma aka miƙa rubutun da zai bamu damar magance captchas ta atomatik.

Menene ReBreakCaptcha?

Aikace-aikacen kyauta ne wanda ke amfani da raunin raunin - ReCaptcha V2, para warware captcha kai tsaye, don wannan amfani da laburaren aiki da kai selenium, da Gane Jawabin Google Api da kuma algorithms daban-daban.

Kayan aiki mai sauki ne, ana shiga cikin matakai uku, na farko inda yake magance mashahurin captcha na «Ni ba mutum-mutumi bane«, Sannan lokacin da captcha don warwarewa ya fito, zaɓi zaɓi na sauti, karɓar odiyo kuma aiwatar dashi tare da Gane Jawabin Google ApiA ƙarshe, shigar da lambobin da API ta gane su kuma shigar da shi a cikin filin captcha.

Api na Gane Jawabin Google Api na iya kasawa akai-akai, don haka Sake BreakCaptchaKuna gwada mabambantan hanyoyi har sai kun sami mafita daidai. captcha

Shigar da saita ReBreakCaptcha

Don yin amfani da Sake BreakCaptcha dole ne mu bi smallan stepsan matakai kaɗan, tun da asalin rubutun an toshe shi da hanyoyi don Windows.

  • Da farko dai, dole ne mu girka abubuwan dogaro masu dacewa don rubutun suyi aiki:
    sudo pip shigar pydub SpeechRecognition selenium
  • Nan gaba dole ne mu sanya ma'ajiyar rubutun:
    git clone https://github.com/eastee/rebreakcaptcha.git
  • Muna tafiya zuwa tebur na cloned kuma gyara aji, tare da hanyoyin da suka dace don Linux.
     cd rebreakcaptcha nano nano sake warwarewa.py

    Yakamata su canza wadannan bayanan

    # Firefox / Gecko Driver Mai dangantaka FIREFOX_BIN_PATH = r "C: \ Fayilolin Shirye-shiryen (x86) \ Mozilla Firefox \ firefox.exe" GECKODRIVER_BIN = r "C: \ geckodriver.exe"

    Af a cikin Linux

    # Firefox / Gecko Driver Mai dangantaka FIREFOX_BIN_PATH = r "/ usr / bin / Firefox" GECKODRIVER_BIN = r "/ usr / bin / geckodriver"

    Haka kuma idan kun yi amfani Python3, don Allah maye gurbin xrange de range. Dole ne kuma mu canza URL ɗin da muke son amfani da rubutun (Wato wanda muke son Rubutu ya warware).
    Zamu iya yin sa a layin da mai zuwa ya bayyana:
    RECAPTCHA_PAGE_URL = "https://www.google.com/recaptcha/api2/demo"

  • A karshe dole ne mu gudu Sake BreakCaptcha, zai buɗe burauzar ta atomatik tare da url ɗin da aka nuna kuma aiwatar da aikin don warware captcha da ake tambaya.
    python3 rebreakcaptcha.py

Kammalawa game da ReBreakCaptcha

Wannan rubutun na iya zama tushe don amfani dashi a cikin matakai daban-daban kuma a cikin Python tare da matakai masu sauƙi zamu inganta shi. Dole ne yin amfani da wannan kayan aikin ya zama na amfani da ilimi, kuma ga alumma gabaɗaya yana da mahimmanci a yada shi saboda yana bada tabbacin cewa da sannu zamu sami facin da zai magance wannan matsalar.

Rashin lafiyar yana aiki har yanzu, saboda haka ana ba da shawarar masu amfani waɗanda suke amfani da shi ReCaptcha V2 haɓaka tsaronku tare da wasu kayan aikin, musamman gano IP wanda akai-akai don magance captchas.

 


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

16 comments, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Jose m

    kuma don windows?

    1.    kadangare m

      Kuna iya amfani dashi kamar yadda yazo daga ma'aji

  2.   Alejandro m

    Kyakkyawan Lizard,

    Godiya ga rabawa, kodayake kun karanta asalin zaren https://east-ee.com/ Da alama dai bugun da aka buga abin birgewa ne, amma yawancin masu amfani suna nuna cewa kawai yana iya warware mafi saurin kamewa a ƙimar da suka riga sun yi ƙasa.

    Na gode!

    1.    kadangare m

      Tabbas, yawan bugawa yayi ƙaranci (A cikin gwaje-gwajen da nakeyi 1 daga kowane 7 an warware su), duk da haka, akwai yiwuwar yanayin larurar kuma da alama akwai kayan aikin da aka inganta domin waɗannan haɓakar girman su tashi.

  3.   Farfadowa da na'ura m

    Na gode da labarin, gaskiyar ita ce ta yi mini aiki sosai!

  4.   kirista m

    dan uwa zaka iya yin karin bayani game da yadda ake girka shi a windows?

  5.   Gustavo m

    Godiya ga raba kadangaru; kai tsaye zuwa allon wasa don wasa kaɗan daga baya. Tunda yana cikin Python, dole ne ku yi amfani da damar.

  6.   Wilber antonio m

    Gaisuwa mai kyau da godiya ga labarin, wanda yake da kyau sosai kuma yana da ban sha'awa. Ina so don Allah a turo min yankin windows, tunda ban same shi a ko ina ba, na gode sosai da lokacinku da kulawarku.

  7.   Carr m

    Ba ya warware kullun kuma ya aiko mini da wannan gargaɗin
    Gargadin Runtime: Ba za a iya samun ffmpeg ko avconv ba - tsoho zuwa ffmpeg, amma maiyuwa ba zai yi aiki ba
    yi gargaɗi ("An kasa samo ffmpeg ko avconv - a yi tsokaci zuwa ffmpeg, amma ƙila ba zai yi aiki ba", RuntimeW gargadi

  8.   mala'iku m

    Barka dai Ina kokarin yin rijista a shafi amma idan na shiga ba zan iya haɗuwa da RECAPTCHA me ake nufi da wannan ba, wani zai iya taimaka min

  9.   yesu ramos m

    Yadda ake warware chacha na adadin ƙari, ragi, narkarwa

  10.   m m

    da kuma mahadar saukarwa?

  11.   Jose fernandez m

    Ina neman aikace-aikace na daukar hoto

  12.   ana z. tsaunin dutse v. m

    Abinda nakeso shine wuce ko bude captcha, bazan iya wuce su ba, basa budewa

  13.   irada quiroz m

    Ina bukatan warware matsalar RECAPTCHA kuma ban san yadda zan yi ba, za ku iya taimaka min don Allah

  14.   Mackey-255 m

    Hakanan zaka iya amfani da GoodByeCaptcha wanda ke aiwatar da gano hoto wanda zai guji matsalar Gwada Sake lokacin da kake ƙoƙarin warware sautin sau da yawa.