From 3b7c32902b1ce44a6d78b1e2c9b93db66b4d9880 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Fri, 27 Oct 2023 21:41:33 +0530 Subject: [PATCH] f6a6bf371c69132aaf207aabe5c508742a9c5def --- .hugo_build.lock | 0 404.html | 8 +- about/index.html | 6 +- blog/december-2021-monthly-report/index.html | 6 +- blog/february-2023-monthly-report/index.html | 6 +- blog/index.html | 6 +- blog/introducing-mcaptcha-net/index.html | 12 +- blog/july-2022-monthly-report/index.html | 6 +- blog/june-2022-monthly-report/index.html | 6 +- blog/may-2022-monthly-report/index.html | 112 ++-- blog/pow-performance/index.html | 6 +- blog/say-hello-to-mcaptcha/index.html | 6 +- blog/survey/index.html | 6 +- community/index.html | 6 +- contact/index.html | 6 +- contributors/aravinth-manivannan/index.html | 6 +- contributors/index.html | 6 +- docs/api/browser/index.html | 32 +- docs/api/index.html | 12 +- docs/api/mcaptcha-system/index.html | 32 +- docs/api/pow-sha256/index.html | 32 +- docs/help/faq/index.html | 39 +- docs/help/index.html | 12 +- docs/help/troubleshooting/index.html | 38 +- docs/index.html | 46 +- docs/introduction/index.xml | 33 -- docs/introduction/sitemap.xml | 17 - .../bare-metal/index.html | 130 +++-- .../dependencies/index.html | 72 ++- .../docker/index.html | 60 +- .../getting-started/index.html | 50 +- docs/{self-hosted => self-hosting}/index.html | 40 +- docs/{self-hosted => self-hosting}/index.xml | 24 +- .../{self-hosted => self-hosting}/sitemap.xml | 16 +- docs/sitemap.xml | 81 +-- docs/terminology/access-token/index.html | 232 -------- docs/terminology/cooldown-period/index.html | 227 -------- docs/terminology/difficulty-factor/index.html | 220 -------- docs/terminology/index.html | 217 -------- docs/terminology/index.xml | 62 --- docs/terminology/sitemap.xml | 38 -- .../configuring-difficulty-factor/index.html | 58 +- .../new-sitekey-adv-mode.png | Bin ...d832a52b37239b_23312_20x0_resize_box_3.png | Bin ...832a52b37239b_23312_500x0_resize_box_3.png | Bin ...832a52b37239b_23312_600x0_resize_box_3.png | Bin ...832a52b37239b_23312_700x0_resize_box_3.png | Bin ...832a52b37239b_23312_800x0_resize_box_3.png | Bin ...832a52b37239b_23312_900x0_resize_box_3.png | Bin .../new-sitekey-easy-mode.png | Bin ...03a2d78fa015c8_26636_20x0_resize_box_3.png | Bin ...3a2d78fa015c8_26636_500x0_resize_box_3.png | Bin ...3a2d78fa015c8_26636_600x0_resize_box_3.png | Bin ...3a2d78fa015c8_26636_700x0_resize_box_3.png | Bin ...3a2d78fa015c8_26636_800x0_resize_box_3.png | Bin ...3a2d78fa015c8_26636_900x0_resize_box_3.png | Bin .../faq}/copy-sitekey.png | Bin ...283a1abb694c9a_63890_20x0_resize_box_3.png | Bin ...83a1abb694c9a_63890_500x0_resize_box_3.png | Bin ...83a1abb694c9a_63890_600x0_resize_box_3.png | Bin ...83a1abb694c9a_63890_700x0_resize_box_3.png | Bin ...83a1abb694c9a_63890_800x0_resize_box_3.png | Bin ...83a1abb694c9a_63890_900x0_resize_box_3.png | Bin .../sitekey => webmasters/faq}/index.html | 95 ++-- .../faq}/sitekey-in-dashboard-sidepanel.png | Bin ...a97af482e11285_26958_20x0_resize_box_3.png | Bin ...97af482e11285_26958_500x0_resize_box_3.png | Bin ...97af482e11285_26958_600x0_resize_box_3.png | Bin ...97af482e11285_26958_700x0_resize_box_3.png | Bin ...97af482e11285_26958_800x0_resize_box_3.png | Bin docs/{introduction => webmasters}/index.html | 58 +- docs/webmasters/index.xml | 53 ++ .../installing-captcha}/copy-sitekey.png | Bin .../installing-captcha/index.html | 108 ++-- .../mcaptcha-widget-installation-result.png | Bin ...d00c2c83dd77fb_28299_20x0_resize_box_3.png | Bin ...00c2c83dd77fb_28299_500x0_resize_box_3.png | Bin ...00c2c83dd77fb_28299_600x0_resize_box_3.png | Bin ...00c2c83dd77fb_28299_700x0_resize_box_3.png | Bin ...00c2c83dd77fb_28299_800x0_resize_box_3.png | Bin .../new-sitekey-adv-mode.png | Bin .../installing-captcha/new-sitekey-btn.png | Bin ...4e26fb8eb1b427_65746_20x0_resize_box_3.png | Bin ...e26fb8eb1b427_65746_500x0_resize_box_3.png | Bin ...e26fb8eb1b427_65746_600x0_resize_box_3.png | Bin ...e26fb8eb1b427_65746_700x0_resize_box_3.png | Bin ...e26fb8eb1b427_65746_800x0_resize_box_3.png | Bin ...e26fb8eb1b427_65746_900x0_resize_box_3.png | Bin .../new-sitekey-easy-mode-filled.png | Bin ...b31adaa9c5a5e6_30108_20x0_resize_box_3.png | Bin ...31adaa9c5a5e6_30108_500x0_resize_box_3.png | Bin ...31adaa9c5a5e6_30108_600x0_resize_box_3.png | Bin ...31adaa9c5a5e6_30108_700x0_resize_box_3.png | Bin ...31adaa9c5a5e6_30108_800x0_resize_box_3.png | Bin ...31adaa9c5a5e6_30108_900x0_resize_box_3.png | Bin .../new-sitekey-easy-mode.png | Bin .../sitekey-in-dashboard-sidepanel.png | Bin docs/webmasters/sitemap.xml | 31 ++ .../terminology}/index.html | 112 ++-- donate/index.html | 6 +- index.html | 6 +- ...36427f327ddec61ad33c2cebafc3e4e1e8a64dc.js | 508 +++++++++++++++++ ...5c3d153fb0067cc75ff642c520b3607340014c0.js | 511 ------------------ ...39da8aef9d6d5e62b76711fa93d9663860b1926.js | 1 + ...4f3fce9ec81668f2d3bee114b9b6357dd2e92cd.js | 1 - privacy-policy/index.html | 6 +- security/index.html | 6 +- sitemap.xml | 78 +-- thanks/index.html | 6 +- 109 files changed, 1263 insertions(+), 2353 deletions(-) create mode 100644 .hugo_build.lock delete mode 100644 docs/introduction/index.xml delete mode 100644 docs/introduction/sitemap.xml rename docs/{self-hosted => self-hosting}/bare-metal/index.html (58%) rename docs/{self-hosted => self-hosting}/dependencies/index.html (72%) rename docs/{self-hosted => self-hosting}/docker/index.html (72%) rename docs/{self-hosted => self-hosting}/getting-started/index.html (76%) rename docs/{self-hosted => self-hosting}/index.html (83%) rename docs/{self-hosted => self-hosting}/index.xml (82%) rename docs/{self-hosted => self-hosting}/sitemap.xml (56%) delete mode 100644 docs/terminology/access-token/index.html delete mode 100644 docs/terminology/cooldown-period/index.html delete mode 100644 docs/terminology/difficulty-factor/index.html delete mode 100644 docs/terminology/index.html delete mode 100644 docs/terminology/index.xml delete mode 100644 docs/terminology/sitemap.xml rename docs/{introduction => webmasters}/configuring-difficulty-factor/index.html (64%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-adv-mode.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-adv-mode_huc4867c6295dc4be195d832a52b37239b_23312_20x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-adv-mode_huc4867c6295dc4be195d832a52b37239b_23312_500x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-adv-mode_huc4867c6295dc4be195d832a52b37239b_23312_600x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-adv-mode_huc4867c6295dc4be195d832a52b37239b_23312_700x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-adv-mode_huc4867c6295dc4be195d832a52b37239b_23312_800x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-adv-mode_huc4867c6295dc4be195d832a52b37239b_23312_900x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-easy-mode.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-easy-mode_hu3f66189ea53484ac6603a2d78fa015c8_26636_20x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-easy-mode_hu3f66189ea53484ac6603a2d78fa015c8_26636_500x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-easy-mode_hu3f66189ea53484ac6603a2d78fa015c8_26636_600x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-easy-mode_hu3f66189ea53484ac6603a2d78fa015c8_26636_700x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-easy-mode_hu3f66189ea53484ac6603a2d78fa015c8_26636_800x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/configuring-difficulty-factor/new-sitekey-easy-mode_hu3f66189ea53484ac6603a2d78fa015c8_26636_900x0_resize_box_3.png (100%) rename docs/{introduction/installing-captcha => webmasters/faq}/copy-sitekey.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/copy-sitekey_huf38748cca91d238810283a1abb694c9a_63890_20x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/copy-sitekey_huf38748cca91d238810283a1abb694c9a_63890_500x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/copy-sitekey_huf38748cca91d238810283a1abb694c9a_63890_600x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/copy-sitekey_huf38748cca91d238810283a1abb694c9a_63890_700x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/copy-sitekey_huf38748cca91d238810283a1abb694c9a_63890_800x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/copy-sitekey_huf38748cca91d238810283a1abb694c9a_63890_900x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/index.html (54%) rename docs/{introduction/installing-captcha => webmasters/faq}/sitekey-in-dashboard-sidepanel.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/sitekey-in-dashboard-sidepanel_hu437e619e92d9fef838a97af482e11285_26958_20x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/sitekey-in-dashboard-sidepanel_hu437e619e92d9fef838a97af482e11285_26958_500x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/sitekey-in-dashboard-sidepanel_hu437e619e92d9fef838a97af482e11285_26958_600x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/sitekey-in-dashboard-sidepanel_hu437e619e92d9fef838a97af482e11285_26958_700x0_resize_box_3.png (100%) rename docs/{terminology/sitekey => webmasters/faq}/sitekey-in-dashboard-sidepanel_hu437e619e92d9fef838a97af482e11285_26958_800x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/index.html (78%) create mode 100644 docs/webmasters/index.xml rename docs/{terminology/sitekey => webmasters/installing-captcha}/copy-sitekey.png (100%) rename docs/{introduction => webmasters}/installing-captcha/index.html (56%) rename docs/{introduction => webmasters}/installing-captcha/mcaptcha-widget-installation-result.png (100%) rename docs/{introduction => webmasters}/installing-captcha/mcaptcha-widget-installation-result_hub39801b2a229b4882fd00c2c83dd77fb_28299_20x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/mcaptcha-widget-installation-result_hub39801b2a229b4882fd00c2c83dd77fb_28299_500x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/mcaptcha-widget-installation-result_hub39801b2a229b4882fd00c2c83dd77fb_28299_600x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/mcaptcha-widget-installation-result_hub39801b2a229b4882fd00c2c83dd77fb_28299_700x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/mcaptcha-widget-installation-result_hub39801b2a229b4882fd00c2c83dd77fb_28299_800x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-adv-mode.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-btn.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-btn_hu4dc550a2e568d01f004e26fb8eb1b427_65746_20x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-btn_hu4dc550a2e568d01f004e26fb8eb1b427_65746_500x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-btn_hu4dc550a2e568d01f004e26fb8eb1b427_65746_600x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-btn_hu4dc550a2e568d01f004e26fb8eb1b427_65746_700x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-btn_hu4dc550a2e568d01f004e26fb8eb1b427_65746_800x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-btn_hu4dc550a2e568d01f004e26fb8eb1b427_65746_900x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode-filled.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode-filled_hu0c237370199481610ab31adaa9c5a5e6_30108_20x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode-filled_hu0c237370199481610ab31adaa9c5a5e6_30108_500x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode-filled_hu0c237370199481610ab31adaa9c5a5e6_30108_600x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode-filled_hu0c237370199481610ab31adaa9c5a5e6_30108_700x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode-filled_hu0c237370199481610ab31adaa9c5a5e6_30108_800x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode-filled_hu0c237370199481610ab31adaa9c5a5e6_30108_900x0_resize_box_3.png (100%) rename docs/{introduction => webmasters}/installing-captcha/new-sitekey-easy-mode.png (100%) rename docs/{terminology/sitekey => webmasters/installing-captcha}/sitekey-in-dashboard-sidepanel.png (100%) create mode 100644 docs/webmasters/sitemap.xml rename docs/{terminology/visitor-threshold => webmasters/terminology}/index.html (62%) create mode 100644 index.min.3815062368a85ddb58786a06fadf790751079a4737b79f370db1cf2044c2451d2de7aa39343d73dab0c02899036427f327ddec61ad33c2cebafc3e4e1e8a64dc.js delete mode 100644 index.min.f24b6e33dac74771476dda67fe905af998983abef17f74f74d71228ac8f40f87af8b15bcd9f0da775c90a41395c3d153fb0067cc75ff642c520b3607340014c0.js create mode 100644 main.min.bc2465e4e1abda257c622bf89b85235da437778b3e3f80e01762312382cc27d4e50a8a4de22e464dc82e3a61039da8aef9d6d5e62b76711fa93d9663860b1926.js delete mode 100644 main.min.fc14a6a9dceb7093b6984e33583a45c79e3c960959d75df6b62753b4d1c63a97d25af2b0ca924ed12675f1de34f3fce9ec81668f2d3bee114b9b6357dd2e92cd.js diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html index 15898ae..3f7373e 100644 --- a/404.html +++ b/404.html @@ -44,7 +44,7 @@ },{ "@type": "ListItem", "position": 2 , - "name": "404.Html", + "name": "404.html", "item": "\/404.html\/" }] } @@ -89,7 +89,7 @@ About
@@ -139,8 +139,8 @@ - - + + diff --git a/about/index.html b/about/index.html index a445a9e..5abc0db 100644 --- a/about/index.html +++ b/about/index.html @@ -93,7 +93,7 @@ About
@@ -183,8 +183,8 @@ Security Advisor

- - + + diff --git a/blog/december-2021-monthly-report/index.html b/blog/december-2021-monthly-report/index.html index 3784480..37bcc73 100644 --- a/blog/december-2021-monthly-report/index.html +++ b/blog/december-2021-monthly-report/index.html @@ -92,7 +92,7 @@ About
@@ -237,8 +237,8 @@ at any moment!

- - + + diff --git a/blog/february-2023-monthly-report/index.html b/blog/february-2023-monthly-report/index.html index dddb591..02161f3 100644 --- a/blog/february-2023-monthly-report/index.html +++ b/blog/february-2023-monthly-report/index.html @@ -92,7 +92,7 @@ About
@@ -211,8 +211,8 @@ WebAssembly support.

- - + + diff --git a/blog/index.html b/blog/index.html index 8c97566..ce1c429 100644 --- a/blog/index.html +++ b/blog/index.html @@ -93,7 +93,7 @@ About
@@ -217,8 +217,8 @@ - - + + diff --git a/blog/introducing-mcaptcha-net/index.html b/blog/introducing-mcaptcha-net/index.html index 333a139..7a21bcf 100644 --- a/blog/introducing-mcaptcha-net/index.html +++ b/blog/introducing-mcaptcha-net/index.html @@ -92,7 +92,7 @@ About
@@ -171,9 +171,9 @@ instances.

  • The difficulty factor for which the PoW was computed
  • Type of client library used.
  • -
    1"time":14,
    -2"difficulty_factor":50000,
    -3"worker_type":"wasm"
    +
    1"time":14,
    +2"difficulty_factor":50000,
    +3"worker_type":"wasm"
     

    This doesn’t include the usual fingerprinting parameters like User-Agent, cookies, and IP address. Additionally, we use pseudo IDs at both mCaptcha/mCaptcha and mCaptcha/survey to avoid exposing installations.

    @@ -233,8 +233,8 @@ installations automatically.

    - - + + diff --git a/blog/july-2022-monthly-report/index.html b/blog/july-2022-monthly-report/index.html index 9e9e6d0..9de2bd7 100644 --- a/blog/july-2022-monthly-report/index.html +++ b/blog/july-2022-monthly-report/index.html @@ -92,7 +92,7 @@ About
    @@ -249,8 +249,8 @@ OTF. - - + + diff --git a/blog/june-2022-monthly-report/index.html b/blog/june-2022-monthly-report/index.html index 373d31f..22b8c42 100644 --- a/blog/june-2022-monthly-report/index.html +++ b/blog/june-2022-monthly-report/index.html @@ -92,7 +92,7 @@ About
    @@ -215,8 +215,8 @@ development economically sustainable.

    - - + + diff --git a/blog/may-2022-monthly-report/index.html b/blog/may-2022-monthly-report/index.html index 710c58e..7920851 100644 --- a/blog/may-2022-monthly-report/index.html +++ b/blog/may-2022-monthly-report/index.html @@ -92,7 +92,7 @@ About
    @@ -147,59 +147,59 @@ programs to automatically solve mCaptcha.

    website that is protected by mCaptcha, you can now solve the mCaptcha automatically from within the program.

    Here’s an example:

    -
     1import os
    - 2
    - 3import mcaptcha_pow_py
    - 4import requests
    - 5
    - 6# get the sitekey that is used in the mCaptcha protected form
    - 7SITEKEY = os.getenv("MCAPTCHA_CAPTCHA_SITEKEY")
    - 8# the hostname of the mCaptcha instance that the form is using
    - 9MCAPTCHA_HOST = os.getenv("MCAPTCHA_CAPTCHA_HOST")
    -10
    -11
    -12GET_CONFIG_ROUTE = f"{MCAPTCHA_HOST}/api/v1/pow/config"
    -13VERIFY_POW_ROUTE = f"{MCAPTCHA_HOST}/api/v1/pow/verify"
    -14
    -15def solve_captcha():
    -16
    -17    # get challenge configuration
    -18    key = {"key": sitekey}
    -19    challenge_config = requests.post(GET_CONFIG_ROUTE, json=key)
    -20    challenge_config = challenge_config.json()
    -21
    -22    # extract configuration data
    -23    config = mcaptcha_pow_py.PoWConfig(challenge_config["salt"])
    -24    pow_string = challenge_config["string"]
    -25    pow_difficulty_factor = challenge_config["difficulty_factor"]
    -26
    -27    # generate work
    -28    work = config.work(pow_string, pow_difficulty_factor)
    -29
    -30    # verify PoW
    -31    proof = {
    -32        "key": SITEKEY,
    -33        "nonce": work.nonce,
    -34        "result": work.result,
    -35        "string": challenge_config["string"],
    -36    }
    -37    resp = requests.post(VERIFY_POW_ROUTE, json=proof)
    -38    resp = resp.json()
    -39
    -40    # extract verification token
    -41    token = resp["token"]
    -42
    -43    return token
    -44
    -45
    -46token = solve_captcha()
    -47data = {
    -48    "username": "me",
    -49    "password": "superlongpassword",
    -50    "confirm_password": "superlongpassword",
    -51    "mcaptcha__token": token,
    -52}
    -53response = requests.post("/mCaptcha-protected-form", data=data)
    +
     1import os
    + 2
    + 3import mcaptcha_pow_py
    + 4import requests
    + 5
    + 6# get the sitekey that is used in the mCaptcha protected form
    + 7SITEKEY = os.getenv("MCAPTCHA_CAPTCHA_SITEKEY")
    + 8# the hostname of the mCaptcha instance that the form is using
    + 9MCAPTCHA_HOST = os.getenv("MCAPTCHA_CAPTCHA_HOST")
    +10
    +11
    +12GET_CONFIG_ROUTE = f"{MCAPTCHA_HOST}/api/v1/pow/config"
    +13VERIFY_POW_ROUTE = f"{MCAPTCHA_HOST}/api/v1/pow/verify"
    +14
    +15def solve_captcha():
    +16
    +17    # get challenge configuration
    +18    key = {"key": sitekey}
    +19    challenge_config = requests.post(GET_CONFIG_ROUTE, json=key)
    +20    challenge_config = challenge_config.json()
    +21
    +22    # extract configuration data
    +23    config = mcaptcha_pow_py.PoWConfig(challenge_config["salt"])
    +24    pow_string = challenge_config["string"]
    +25    pow_difficulty_factor = challenge_config["difficulty_factor"]
    +26
    +27    # generate work
    +28    work = config.work(pow_string, pow_difficulty_factor)
    +29
    +30    # verify PoW
    +31    proof = {
    +32        "key": SITEKEY,
    +33        "nonce": work.nonce,
    +34        "result": work.result,
    +35        "string": challenge_config["string"],
    +36    }
    +37    resp = requests.post(VERIFY_POW_ROUTE, json=proof)
    +38    resp = resp.json()
    +39
    +40    # extract verification token
    +41    token = resp["token"]
    +42
    +43    return token
    +44
    +45
    +46token = solve_captcha()
    +47data = {
    +48    "username": "me",
    +49    "password": "superlongpassword",
    +50    "confirm_password": "superlongpassword",
    +51    "mcaptcha__token": token,
    +52}
    +53response = requests.post("/mCaptcha-protected-form", data=data)
     

    This could be missed for building DDoS bots(more on that here) but this could also be used to make CAPTCHA solving automated within screen readers and other @@ -321,8 +321,8 @@ be redacted and published.

    - - + + diff --git a/blog/pow-performance/index.html b/blog/pow-performance/index.html index 5ab385d..10da08d 100644 --- a/blog/pow-performance/index.html +++ b/blog/pow-performance/index.html @@ -92,7 +92,7 @@ About
    @@ -404,8 +404,8 @@ generated proof for 4500000 difficulty(the highest in this test), in under - - + + diff --git a/blog/say-hello-to-mcaptcha/index.html b/blog/say-hello-to-mcaptcha/index.html index 7f259a4..145a64c 100644 --- a/blog/say-hello-to-mcaptcha/index.html +++ b/blog/say-hello-to-mcaptcha/index.html @@ -92,7 +92,7 @@ About
    @@ -243,8 +243,8 @@ GitHub.

    - - + + diff --git a/blog/survey/index.html b/blog/survey/index.html index e2eecd0..1dd93a0 100644 --- a/blog/survey/index.html +++ b/blog/survey/index.html @@ -92,7 +92,7 @@ About
    @@ -203,8 +203,8 @@ winners should provide the matching proof to claim their rewards. - - + + diff --git a/community/index.html b/community/index.html index 1f503c7..aba0ac0 100644 --- a/community/index.html +++ b/community/index.html @@ -93,7 +93,7 @@ About
    @@ -174,8 +174,8 @@ addition to the blog to post short updates.

    - - + + diff --git a/contact/index.html b/contact/index.html index 6f1fd7a..5ba0eef 100644 --- a/contact/index.html +++ b/contact/index.html @@ -93,7 +93,7 @@ About
    @@ -166,8 +166,8 @@ the Matrix, - - + + diff --git a/contributors/aravinth-manivannan/index.html b/contributors/aravinth-manivannan/index.html index 76d74b5..5066b19 100644 --- a/contributors/aravinth-manivannan/index.html +++ b/contributors/aravinth-manivannan/index.html @@ -93,7 +93,7 @@ About
    @@ -219,8 +219,8 @@ - - + + diff --git a/contributors/index.html b/contributors/index.html index 2a461d2..ccc90c8 100644 --- a/contributors/index.html +++ b/contributors/index.html @@ -93,7 +93,7 @@ About
    @@ -151,8 +151,8 @@ - - + + diff --git a/docs/api/browser/index.html b/docs/api/browser/index.html index 0ec3e76..24b30f2 100644 --- a/docs/api/browser/index.html +++ b/docs/api/browser/index.html @@ -93,7 +93,7 @@ About
    @@ -111,25 +111,19 @@
    - - + + diff --git a/docs/api/index.html b/docs/api/index.html index 3413d4a..847a879 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -94,7 +94,7 @@ About
    @@ -118,8 +118,6 @@ - -
    Browser Libraries → @@ -140,10 +138,6 @@ - - - -
    MCaptcha System Library → @@ -198,8 +192,8 @@
    - - + + diff --git a/docs/api/mcaptcha-system/index.html b/docs/api/mcaptcha-system/index.html index 1adddab..521f7af 100644 --- a/docs/api/mcaptcha-system/index.html +++ b/docs/api/mcaptcha-system/index.html @@ -93,7 +93,7 @@ About
    @@ -111,25 +111,19 @@
    - - + + diff --git a/docs/api/pow-sha256/index.html b/docs/api/pow-sha256/index.html index e2f7d78..d6125a5 100644 --- a/docs/api/pow-sha256/index.html +++ b/docs/api/pow-sha256/index.html @@ -93,7 +93,7 @@ About
    @@ -111,25 +111,19 @@
    - - + + diff --git a/docs/help/faq/index.html b/docs/help/faq/index.html index 7443694..20e2cbe 100644 --- a/docs/help/faq/index.html +++ b/docs/help/faq/index.html @@ -92,7 +92,7 @@ About
    @@ -110,25 +110,19 @@ + +
    +
    + Terminology → +
    +
    +
    @@ -199,8 +200,8 @@
    - - + + diff --git a/docs/help/index.html b/docs/help/index.html index d530d5d..e7d7b76 100644 --- a/docs/help/index.html +++ b/docs/help/index.html @@ -94,7 +94,7 @@ About
    @@ -126,12 +126,6 @@ - - - - - -
    FAQ → @@ -192,8 +186,8 @@
    - - + + diff --git a/docs/help/troubleshooting/index.html b/docs/help/troubleshooting/index.html index b84a4fb..2e17baa 100644 --- a/docs/help/troubleshooting/index.html +++ b/docs/help/troubleshooting/index.html @@ -92,7 +92,7 @@ About
    @@ -110,25 +110,19 @@