Code Monkey home page Code Monkey logo

geetest3-crack's Introduction

Geetest3 Distributed Cracking Platform

Introduction

This platform works by transferring Geetest3 validation on websites to distributed workers which simulate human and auto-complete the process.

A user requests a captcha from a website and submit it to the server, then the cracking task will be randomly assigned to an online worker. The worker will perform sliding puzzle automatically and pass the 2-step verification data back to the user. Post the 2FA data to the website and the validation flow is completed.

Learn more about Geetest Networking Sequence

Demo

Video

Quick Start

  1. Clone or download this repository

  2. Install Chrome and ChromeDriver, make sure they can be found in PATH variable

  3. Use pip to install requirements

python3.6 -m pip install -U flask gevent pillow requests selenium toml
  1. Launch run.py to test the platform
python3.6 run.py

More configuration can be modified in config.toml

API

Use GET method to access API, and the return data is in JSON format

/crack

Param

  • gt

  • challenge

  • success (Optional, default value is 1)

http://127.0.0.1:3333/crack?gt=d712df3d362b20bd5b3d290adf7603bc&challenge=dbd7e4f6318d3338f9e698875ecc3a56&success=1

Return

  • Success
{'code': 0, 'message': 'success', 'challenge': 'dbd7e4f6318d3338f9e698875ecc3a5637', 'validate': 'f5d49c5f0a0f5a9dd8a65aef3416737a', 'seccode': 'f5d49c5f0a0f5a9dd8a65aef3416737a|jordan'}
  • Invalid parameter
{'code': -1, 'message': 'invalid parameter'}
  • Error
{'code': -2, 'message': 'error'}
  • Timeout
{'code': -3, 'message': 'timeout'}

/status

Param

None

http://127.0.0.1:3333/status

Return

{'code': 0, 'workers': 1, 'pending': 0, 'doing': 1, 'done': 39}

Refer to api.py and test.py for more examples

Disclaimer

The project is for study and technical communication only, do not use it for illegal purposes!

I don't take any responsibility if legal dispute occurs.

License

Geetest3 Distributed Cracking Platform is under The Star And Thank Author License (SATA)

You are obliged to star this open source project and consider giving the author appropriate rewards ∠( ᐛ 」∠)_

geetest3-crack's People

Contributors

hsury avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geetest3-crack's Issues

Never succeeds

Hello,
I have everything running perfectly even tho the image gets placed correctly I still get "Image not placed correctly" i have tried hundreds of times never succeed, when I do it manually it works.
Any help would be appreciated

jsonp 格式的,应该怎么获取gt

$.ajax({
url: "http://login.jiayuan.com/geetest_init.php?jsonCallBack&t=" + (new Date()).getTime(),
type: "get",
dataType: "jsonp",
jsonp: 'jsonCallBack',
success: function (data) {
initGeetest({
gt: data.gt,
challenge: data.challenge,
offline: !data.success,
new_captcha: data.new_captcha,
product: "bind",
width: "300px",
https: true
}, handlerEmbed);
}
});

这个网站是用 Jsonp 获取 获取gt的

    response = requests.get("http://login.jiayuan.com/geetest_init.php"),这样获取不到gt

似乎失效了?

Test: ON
127.0.0.1 - - [2019-01-20 19:30:36] "GET /status HTTP/1.1" 200 162 0.000999
127.0.0.1 - - [2019-01-20 19:30:37] "GET /favicon.ico HTTP/1.1" 200 67950 0.004997
127.0.0.1 - - [2019-01-20 19:31:00] "GET /crack?gt=d712df3d362b20bd5b3d290adf7603bc&challenge=0ff146823cee15a099d2ace83077e751&success=1 HTTP/1.1" 200 140 30.007688
127.0.0.1 - - [2019-01-20 19:31:00] "GET /crack?gt=d712df3d362b20bd5b3d290adf7603bc&challenge=9f3f2f3cf96bae008acfc2b786e8b6be&success=1 HTTP/1.1" 200 140 30.007689
127.0.0.1 - - [2019-01-20 19:31:00] "GET /status HTTP/1.1" 200 162 0.002000

Captcha: {'success': 1, 'gt': 'd712df3d362b20bd5b3d290adf7603bc', 'challenge': '0ff146823cee15a099d2ace83077e751', 'key': '266c02e08d064d348580c6bcfa677862'}
Result: {'code': -3, 'message': 'timeout'}
Status: {'code': 0, 'doing': 0, 'done': 2, 'pending': 0, 'workers': 0}

127.0.0.1 - - [2019-01-20 19:31:00] "GET /status HTTP/1.1" 200 162 0.000000

Captcha: {'success': 1, 'gt': 'd712df3d362b20bd5b3d290adf7603bc', 'challenge': '9f3f2f3cf96bae008acfc2b786e8b6be', 'key': '9e102f91f7db4bb3bbe19530087111b9'}
Result: {'code': -3, 'message': 'timeout'}
Status: {'code': 0, 'doing': 0, 'done': 2, 'pending': 0, 'workers': 0}

轨迹问题

经过测试,直接移动到目标点比算法算出来的轨迹成功率还要高,如果在中间随机停一下成功率几乎100%

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.