hackcaptcha
Provide api functions for captcha recognition, this repo is created mainly for https://github.com/CharlesPikachu/DecryptLogin
You can star this repository to keep track of the project if it's helpful for you, thank you for your support.
Documents
in Chinese
in English
Support List
| Captcha Type | Number of supported algorithms | Number of supported webapis | in Chinese |
|---|---|---|---|
| Slider | 1 | 0 | 滑块验证码 |
| Digital | 0 | 1 | 数字验证码 |
| Click | 1 | 0 | 点击验证码 |
Install
Pip install
run "pip install hackcaptcha"
Source code install
(1) Offline
Step1: git clone https://github.com/CharlesPikachu/hackcaptcha.git
Step2: cd hackcaptcha -> run "python setup.py install"
(2) Online
run "pip install git+https://github.com/CharlesPikachu/hackcaptcha.git@master"
Quick Start
hack captcha by algorithms
from hackcaptcha.crackers import AlgorithmsCracker
cracker = AlgorithmsCracker()
# slider captcha
infos_return = cracker.slider(imagepath='CAPTCHA IMAGE PATH', algorithm_type='canny')
# digital captcha
# click captcha
infos_return = cracker.click(imagepath='CAPTCHA IMAGE PATH', algorithm_type='zt12306', text_model_path='text.h5', object_model_path='object.h5')
hack captcha by webapis
from hackcaptcha.crackers import WebapisCracker
cracker = WebapisCracker()
# slider captcha
# digital captcha
infos_return = cracker.digital(imagepath='CAPTCHA IMAGE PATH', webapi_type='baidu', app_id='AppID', api_key='API Key', secret_key='Secret Key')
# click captcha
References
[1]. https://github.com/zhaipro/easy12306
More
WeChat Official Accounts
Charles_pikachu
Metadata
Release files for hackcaptcha 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hackcaptcha-0.0.1.tar.gz | 5.9 kB | Without provenance | Details for hackcaptcha-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hackcaptcha-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for hackcaptcha-0.0.1-py3-none-any.whl |
Total release size: 16.1 kB
Release files / hackcaptcha-0.0.1.tar.gz
| Download URL | hackcaptcha-0.0.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02a93d8ec376b812cfe463b65bb969123107718e2f21f5999e4151f197f9ba65
|
|
BLAKE2b-256 checksum How to use checksums |
ac910f2bc5ec061e8f78cc8d3a421bd52352230403703892d5478136afa5d691
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|
Release files / hackcaptcha-0.0.1-py3-none-any.whl
| Download URL | hackcaptcha-0.0.1-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c641f6d34f75820e7bc83ec9514cf28233b04e06251a3c5c1c25ff159fd72ebc
|
|
BLAKE2b-256 checksum How to use checksums |
643571d4dede77806ab2dc69d50ce4eee28c134fec21632304251a3c3a3dd801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4
|
Security for hackcaptcha 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.