GithubHelp home page GithubHelp logo

d3ext / captcha-bypassing-lab Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 6.0 202 KB

PHP lab to test captcha bypassing

License: MIT License

Python 24.02% PHP 65.64% HTML 10.33%
pentesting captcha python github lab php oscp

captcha-bypassing-lab's Introduction

Captcha Bypassing Lab

If you want to practise captcha bypassing, this is the right place!

Introduction

This repo contains a lab to practise captcha bypassing and a python script which is already able to "break" the captcha and get the numbers of it. The lab has 2 parts, one to simply parse the captcha and the other one to combine the captcha with a simple login form

Requirements

To use the python script you need to have install the python pytesseract package as well as the tesseract command. Both of them used to convert images to text:

To launch the lab you just need a php server and in order to generate the captcha you need to have installed php-gd and to have it enabled on /etc/php/php.ini by uncommenting the line extension=gd

Installation

Clone the repo and set up a php server on the lab folder

git clone https://github.com/D3Ext/Captcha-Bypassing-Lab
cd Captcha-Bypassing-Lab/template
php -S 0.0.0.0:80

Solution

In order to solve both labs the project has, there actually are infinite solutions but feel free to check the python scripts on the scripts/ folder, solution1.py for the first part and solution2.py for the second one

Demo

References

https://www.anura.io/blog/captcha-and-recaptcha-how-fraudsters-bypass-it
https://book.hacktricks.xyz/pentesting-web/captcha-bypass

License

This project is under MIT license

Copyright © 2024, D3Ext

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.