From c2add446aa2fab8e7027206fdd2f5e532d589f5b Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sat, 9 Dec 2023 03:45:34 +0530 Subject: [PATCH] $(date -$) --- .hugo_build.lock | 0 404.html | 2 +- about/index.html | 2 +- blog/december-2021-monthly-report/index.html | 2 +- blog/february-2023-monthly-report/index.html | 2 +- blog/index.html | 2 +- blog/introducing-mcaptcha-net/index.html | 2 +- blog/july-2022-monthly-report/index.html | 2 +- blog/june-2022-monthly-report/index.html | 2 +- blog/may-2022-monthly-report/index.html | 2 +- blog/pow-performance/index.html | 2 +- blog/say-hello-to-mcaptcha/index.html | 2 +- blog/survey/index.html | 2 +- community/index.html | 2 +- contact/index.html | 2 +- contributors/aravinth-manivannan/index.html | 2 +- contributors/index.html | 2 +- docs/api/browser/index.html | 4 ++-- docs/api/index.html | 2 +- docs/api/mcaptcha-system/index.html | 2 +- docs/api/pow-sha256/index.html | 4 ++-- docs/help/faq/index.html | 2 +- docs/help/index.html | 2 +- docs/help/troubleshooting/index.html | 4 ++-- docs/index.html | 2 +- docs/self-hosting/ansible/index.html | 11 +++++++++++ docs/self-hosting/bare-metal/index.html | 4 ++-- docs/self-hosting/dependencies/index.html | 6 +++--- docs/self-hosting/docker/index.html | 6 +++--- docs/self-hosting/getting-started/index.html | 4 ++-- docs/self-hosting/index.html | 2 +- docs/self-hosting/index.xml | 7 +++++-- docs/self-hosting/sitemap.xml | 2 +- docs/sitemap.xml | 2 +- docs/user-manual/cli/index.html | 4 ++-- .../how-to-mcaptcha-without-js/index.html | 4 ++-- docs/user-manual/index.html | 2 +- .../configuring-difficulty-factor/index.html | 4 ++-- docs/webmasters/faq/index.html | 4 ++-- docs/webmasters/index.html | 2 +- docs/webmasters/installing-captcha/index.html | 14 +++++--------- docs/webmasters/sitemap.xml | 2 +- docs/webmasters/terminology/index.html | 4 ++-- donate/index.html | 2 +- index.html | 2 +- ...cbeb3d1e2d2bd650220c94c2ef3aeffb4dc2ef6551f5.js | 1 - ...ddd322c418c5672cc76fe8b7fbd441bc9b4497b01e2c.js | 1 + privacy-policy/index.html | 2 +- security/index.html | 2 +- sitemap.xml | 2 +- thanks/index.html | 2 +- 51 files changed, 81 insertions(+), 71 deletions(-) delete mode 100644 .hugo_build.lock create mode 100644 docs/self-hosting/ansible/index.html delete mode 100644 index.min.80cc62918990f0b9afd15b81ea43df0bc0090a2419660eb4a32b4d122db3bdd007faabd824064bd5d275cbeb3d1e2d2bd650220c94c2ef3aeffb4dc2ef6551f5.js create mode 100644 index.min.f18447d9c620cb9696d186b0cc7079f71111f203e448bff2fe9e9b193a06f75a977f586aa48c2372ffc8ddd322c418c5672cc76fe8b7fbd441bc9b4497b01e2c.js diff --git a/.hugo_build.lock b/.hugo_build.lock deleted file mode 100644 index e69de29..0000000 diff --git a/404.html b/404.html index 5250309..d0805b6 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,4 @@ 404 Page not found - mCaptcha

Page not found :(

The page you are looking for doesn't exist or has been moved.

\ No newline at end of file +

Page not found :(

The page you are looking for doesn't exist or has been moved.

\ No newline at end of file diff --git a/about/index.html b/about/index.html index ab25834..7f85085 100644 --- a/about/index.html +++ b/about/index.html @@ -14,4 +14,4 @@ is alien to us. For this reason, all of our source code is freely available(both as in freedom and beers) at our GitHub.

People

Edit this page on git.batsense.net

\ No newline at end of file +Security Advisor

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/blog/december-2021-monthly-report/index.html b/blog/december-2021-monthly-report/index.html index 69f7ee9..3cfddc9 100644 --- a/blog/december-2021-monthly-report/index.html +++ b/blog/december-2021-monthly-report/index.html @@ -19,4 +19,4 @@ hCaptcha.

← February, 2023: Monthly Report
June, 2022: Monthly Report →

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/blog/june-2022-monthly-report/index.html b/blog/june-2022-monthly-report/index.html index 5e90fd0..cdaacac 100644 --- a/blog/june-2022-monthly-report/index.html +++ b/blog/june-2022-monthly-report/index.html @@ -22,4 +22,4 @@ to device mechanisms to prevent me or any future party with influence in mCaptcha development from hurting the project by it non-free.

Hostea is also an experiment in Free Software commercial operations, so naturally I’m highly impressed by the ideas that are being discussed there. mCaptcha, too, will borrow ideas from that project to make its -development economically sustainable.

← July, 2022: Monthly Report
May, 2022: Monthly Report →

Edit this page on git.batsense.net

\ No newline at end of file +development economically sustainable.

← July, 2022: Monthly Report
May, 2022: Monthly Report →

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/blog/may-2022-monthly-report/index.html b/blog/may-2022-monthly-report/index.html index efc3e85..71c8f51 100644 --- a/blog/may-2022-monthly-report/index.html +++ b/blog/may-2022-monthly-report/index.html @@ -113,4 +113,4 @@ publicly made, funding and expenses publicly documented, and all collaborations, too, publicly documented. This of course doesn’t imply that private, personally identifiable information(addresses and phone numbers, for instance) will be publicly disclosed. Such information will -be redacted and published.

← June, 2022: Monthly Report
December, 2021: Monthly Report →

Edit this page on git.batsense.net

\ No newline at end of file +be redacted and published.

← June, 2022: Monthly Report
December, 2021: Monthly Report →

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/blog/pow-performance/index.html b/blog/pow-performance/index.html index 32ef419..df754e9 100644 --- a/blog/pow-performance/index.html +++ b/blog/pow-performance/index.html @@ -22,4 +22,4 @@ much.


P.S Work is underway to benchmark multiple platforms. A detailed will be published when that data is available.

For this post, I asked some of my friends to run the tests on their computers. The results slightly varied but even the slowest case generated proof for 4500000 difficulty(the highest in this test), in under -15 seconds!

← Survey
Say hello to mCaptcha →

Edit this page on git.batsense.net

\ No newline at end of file +15 seconds!

← Survey
Say hello to mCaptcha →

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/blog/say-hello-to-mcaptcha/index.html b/blog/say-hello-to-mcaptcha/index.html index db7507d..eeeb34c 100644 --- a/blog/say-hello-to-mcaptcha/index.html +++ b/blog/say-hello-to-mcaptcha/index.html @@ -22,4 +22,4 @@ share their knowledge with others. If everything was labeled intellectual property, we might still be stuck in Stone Age. The idea of intellectual property is alien to us. For this reason, all of our source code is freely available(both as in freedom and beers) at our -GitHub.

Resources

← PoW performance

Edit this page on git.batsense.net

\ No newline at end of file +GitHub.

Resources

← PoW performance

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/blog/survey/index.html b/blog/survey/index.html index 0c4d692..12efd7b 100644 --- a/blog/survey/index.html +++ b/blog/survey/index.html @@ -12,4 +12,4 @@ various devices and browsers. The data collected from the survey will be made public, we believe it will guide sysadmins configure difficulty factor properly.

If you are interested in the lucky draw, please save the submission ID and the proof will be presented to you at the end of the survey.

survey lucky draw identifier credentials
Lucky draw credentials

Winners

This blog post will be updated with the winning submission IDs and the -winners should provide the matching proof to claim their rewards.

← December, 2021: Monthly Report
PoW performance →

Edit this page on git.batsense.net

\ No newline at end of file +winners should provide the matching proof to claim their rewards.

← December, 2021: Monthly Report
PoW performance →

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/community/index.html b/community/index.html index 3f0eac0..9359fd2 100644 --- a/community/index.html +++ b/community/index.html @@ -5,4 +5,4 @@ @mCapthca@batsense.net, toot at us for queries and whatnot :)

Official Twitter handle

The project also has a twitter twitter presence at @m_captcha(Nitter hyperlink). This space is used in -addition to the blog to post short updates.

Lead developer email

Write to me at realaravinth@batsense.net!

Bug reports

We use GitHub for managing tickets

Edit this page on git.batsense.net

\ No newline at end of file +addition to the blog to post short updates.

Lead developer email

Write to me at realaravinth@batsense.net!

Bug reports

We use GitHub for managing tickets

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/contact/index.html b/contact/index.html index 88da562..ddf4b58 100644 --- a/contact/index.html +++ b/contact/index.html @@ -6,4 +6,4 @@ community, come say hi!.

Lead developer

You can find me(@realaravinth) on the Matrix, on GitHub or email me at -realaravinth@batense.net.

Edit this page on git.batsense.net

\ No newline at end of file +realaravinth@batense.net.

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/contributors/aravinth-manivannan/index.html b/contributors/aravinth-manivannan/index.html index b731a9f..026afed 100644 --- a/contributors/aravinth-manivannan/index.html +++ b/contributors/aravinth-manivannan/index.html @@ -1,4 +1,4 @@ Aravinth Manivannan - mCaptcha

Aravinth Manivannan

Creator of mCaptcha.

@realaravinth

Introducing mCaptcha net

Posted October 19, 2023 by Aravinth Manivannan ‐ 2 min read

Last Edited October 21, 2023

February, 2023: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted March 8, 2023 by Aravinth Manivannan ‐ 2 min read

Last Edited March 9, 2023

July, 2022: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted August 4, 2022 by Aravinth Manivannan ‐ 2 min read

Last Edited February 13, 2023

June, 2022: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted July 7, 2022 by Aravinth Manivannan ‐ 2 min read

Last Edited July 7, 2022

May, 2022: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted June 10, 2022 by Aravinth Manivannan ‐ 4 min read

Last Edited June 14, 2022

December, 2021: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted December 23, 2021 by Aravinth Manivannan ‐ 2 min read

Last Edited June 14, 2022

Survey

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted October 28, 2021 by Aravinth Manivannan ‐ 1 min read

Last Edited December 23, 2021

PoW performance

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted September 1, 2021 by Aravinth Manivannan ‐ 2 min read

Last Edited September 1, 2021

Say hello to mCaptcha

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted May 26, 2021 by Aravinth Manivannan ‐ 2 min read

Last Edited December 2, 2021

\ No newline at end of file +

Aravinth Manivannan

Creator of mCaptcha.

@realaravinth

Introducing mCaptcha net

Posted October 19, 2023 by Aravinth Manivannan ‐ 2 min read

Last Edited October 21, 2023

February, 2023: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted March 8, 2023 by Aravinth Manivannan ‐ 2 min read

Last Edited March 9, 2023

July, 2022: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted August 4, 2022 by Aravinth Manivannan ‐ 2 min read

Last Edited February 13, 2023

June, 2022: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted July 7, 2022 by Aravinth Manivannan ‐ 2 min read

Last Edited July 7, 2022

May, 2022: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted June 10, 2022 by Aravinth Manivannan ‐ 4 min read

Last Edited June 14, 2022

December, 2021: Monthly Report

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted December 23, 2021 by Aravinth Manivannan ‐ 2 min read

Last Edited June 14, 2022

Survey

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted October 28, 2021 by Aravinth Manivannan ‐ 1 min read

Last Edited December 23, 2021

PoW performance

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted September 1, 2021 by Aravinth Manivannan ‐ 2 min read

Last Edited September 1, 2021

Say hello to mCaptcha

We are mCaptcha. We build kickass CAPTCHA systems that give (DDoS) attackers a run for their money. And we do all of this without tracking your users. Oh and did I mention our UX is great?

Posted May 26, 2021 by Aravinth Manivannan ‐ 2 min read

Last Edited December 2, 2021

\ No newline at end of file diff --git a/contributors/index.html b/contributors/index.html index 74c9a89..bfff89f 100644 --- a/contributors/index.html +++ b/contributors/index.html @@ -1,4 +1,4 @@ Contributors - mCaptcha
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/browser/index.html b/docs/api/browser/index.html index 6f48e59..7e7be18 100644 --- a/docs/api/browser/index.html +++ b/docs/api/browser/index.html @@ -1,7 +1,7 @@ Browser libraries - mCaptcha

Browser libraries

The browser part of mCaptcha is divided into three components.

  • Glue code
  • Widget program
  • Proof-of-Work libraries(WebAssembly and JavaScript polyfill)

Glue code

This is the code that links mCaptcha with your website’s frontend code. +

Browser libraries

The browser part of mCaptcha is divided into three components.

  • Glue code
  • Widget program
  • Proof-of-Work libraries(WebAssembly and JavaScript polyfill)

Glue code

This is the code that links mCaptcha with your website’s frontend code. It creates an iframe containing the mCaptcha widget and injects the received verification proof token into a hidden input field.

Support is available for various frameworks, see mCaptcha/glue for the full list.

For frameworks without official support, a low-level library, @@ -13,4 +13,4 @@ verification proof token to the parent window, assuming it’s loaded as an iframe.

WebAssembly library which generates Proofs of Work for mCaptcha systems.

Proof-of-Work(PoW) library

WebAssembly bindings(mCaptcha/pow_wasm) are available for the main rust library(mCaptcha/pow_sha256).

For browsers without support WebAssembly, a polyfill(pow_sha256-polyfill) -is available.

Edit this page on git.batsense.net

\ No newline at end of file +is available.

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/api/index.html b/docs/api/index.html index 9f8becb..45c41b8 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -1,4 +1,4 @@ API - mCaptcha
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/mcaptcha-system/index.html b/docs/api/mcaptcha-system/index.html index 22b54cd..e2a0521 100644 --- a/docs/api/mcaptcha-system/index.html +++ b/docs/api/mcaptcha-system/index.html @@ -1,4 +1,4 @@ mCaptcha System Library - mCaptcha
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/api/pow-sha256/index.html b/docs/api/pow-sha256/index.html index 6321a3e..1f0e8fd 100644 --- a/docs/api/pow-sha256/index.html +++ b/docs/api/pow-sha256/index.html @@ -1,9 +1,9 @@ pow_sha256 - mCaptcha

pow_sha256

Rust crate which generates SHA256 Proofs of Work on serializable datatypes.

This is a fork of the pow library by @robkorn) with some new additions. Primary of these being:

  • PoW datatype now offers a constructor
  • Salt is no longer hard coded into the library, users can provide unique salts.

Other small changes have also been included of various importance but mostly just stylistic/ease of use improvements.

Versions

Changelog

Changelog is available at the project’s -repository

Edit this page on git.batsense.net

\ No newline at end of file +repository

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/help/faq/index.html b/docs/help/faq/index.html index 75d6b6a..8250b38 100644 --- a/docs/help/faq/index.html +++ b/docs/help/faq/index.html @@ -1,4 +1,4 @@ FAQ - mCaptcha
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/help/index.html b/docs/help/index.html index 3a68595..c94d3ab 100644 --- a/docs/help/index.html +++ b/docs/help/index.html @@ -1,4 +1,4 @@ Help - mCaptcha
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/help/troubleshooting/index.html b/docs/help/troubleshooting/index.html index 7a56160..641ebd8 100644 --- a/docs/help/troubleshooting/index.html +++ b/docs/help/troubleshooting/index.html @@ -1,9 +1,9 @@ Troubleshooting - mCaptcha

Troubleshooting

Solutions to common problems.

Q: I just setup an instance but I am unable to login

mCaptcha by default is configured to server at localhost hostname. If the instance is deployed at another hostname, please try setting MCAPTCHA_SERVER_DOMAIN environment variable to the hostname at which your instance is deployed or setting the equivalent in config.toml:

1[server]
 2domain=mydomain
-

Edit this page on git.batsense.net

\ No newline at end of file +

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 97d7fb4..e02f282 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ mCaptcha - mCaptcha
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/self-hosting/ansible/index.html b/docs/self-hosting/ansible/index.html new file mode 100644 index 0000000..679c3b5 --- /dev/null +++ b/docs/self-hosting/ansible/index.html @@ -0,0 +1,11 @@ +Using Ansible - mCaptcha

Using Ansible

Deploy mCaptcha software using Ansible playbooks

Ansible playbooks to install mCaptcha are available here.

Instructions

Installation

  1. Clone the repository:
1git clone https://git.batsense.net/mCaptcha/iac && cd iac
+
  1. Create inventory file. You should have SSH access to the remote +machine, and the user must have sudo privileges. Example inventory +file:

    1[mcaptcha_hosts]
    +2"mcaptcha_hosts"
    +3<node name> ansible_host=<node IP> ansible_user=<remote username>
    +

    It is important that the group name be mcaptcha_hosts.

  2. Configure installation by editing ansible/vars/mcaptcha/vars.yml. Most parameters have defaults, and the required parameters are annotated.

  3. Run playbook:

1	ansible-playbook -i path/to/inventory-file -f 10 ./ansible/mcaptcha.yml
+

Update

  1. Pull changes from Git repository
  2. Rerun playbook

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/self-hosting/bare-metal/index.html b/docs/self-hosting/bare-metal/index.html index a74afd4..19422df 100644 --- a/docs/self-hosting/bare-metal/index.html +++ b/docs/self-hosting/bare-metal/index.html @@ -1,7 +1,7 @@ Deploy bare metal - mCaptcha

Deploy bare metal

Bare metal deployment is tedious, most of this will be automated with a script in the future.

2. Configure

mcaptcha is highly configurable.

Configuration is applied/merged in the following order:

  1. path to configuration file passed in via MCAPTCHA_CONFIG
  2. ./config/default.toml
  3. /etc/mcaptcha/config.toml
  4. environment variables.

1. Install postgres if you don’t have it already.

For Debian based distributions:

1sudo apt install postgres
+

Deploy bare metal

Bare metal deployment is tedious, most of this will be automated with a script in the future.

2. Configure

mcaptcha is highly configurable.

Configuration is applied/merged in the following order:

  1. path to configuration file passed in via MCAPTCHA_CONFIG
  2. ./config/default.toml
  3. /etc/mcaptcha/config.toml
  4. environment variables.

1. Install postgres if you don’t have it already.

For Debian based distributions:

1sudo apt install postgres
 

2. Create new user for running mcaptcha

1$ sudo useradd -b /srv -m -s /usr/bin/zsh mcaptcha
 

3. Create new user in Postgres

1$ sudo -iu postgres # switch to `postgres` user
 2$ psql
@@ -43,4 +43,4 @@ details.

4. Build mcaptcha2 sudo systemctl enable mcaptcha && \ # Auto startup during boot 3 sudo systemctl start mcaptcha 4`` -

Edit this page on git.batsense.net

\ No newline at end of file +

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/self-hosting/dependencies/index.html b/docs/self-hosting/dependencies/index.html index a066b2e..87c52bc 100644 --- a/docs/self-hosting/dependencies/index.html +++ b/docs/self-hosting/dependencies/index.html @@ -1,7 +1,7 @@ -Database and cache - mCaptcha

Database and cache

mCaptcha server requires dependencies like a Postgres database and a Redis cache

Notes

Database

  • Database migrations are baked into the server binary so don’t worry about them.

  • When compiling from source, unset database configuration(comment out database configuration/ unset relevant environment variables). mCaptcha uses sqlx database client @@ -27,4 +27,4 @@ details.

    1. Install Pos 3postgres=# CREATE USER mcaptcha WITH PASSWORD 'my super long password and yes you need single quote'; 4$ createdb -O mcaptcha mcaptcha # create db 'mcaptcha' with 'mcaptcha' as owner

4. Install mCaptcha/cache

See mCaptcha/cache for more -details.

Edit this page on git.batsense.net

\ No newline at end of file +details.

Edit this page on git.batsense.net

← Using Docker
Troubleshooting →
\ No newline at end of file diff --git a/docs/self-hosting/docker/index.html b/docs/self-hosting/docker/index.html index 3732795..02e93ec 100644 --- a/docs/self-hosting/docker/index.html +++ b/docs/self-hosting/docker/index.html @@ -1,7 +1,7 @@ -Using Docker - mCaptcha

Using Docker

With Docker

1. Configure

mcaptcha is highly configurable.

Configuration is applied/merged in the following order:

  1. path to configuration file passed in via MCAPTCHA_CONFIG
  2. ./config/default.toml
  3. /etc/mcaptcha/config.toml
  4. environment variables.

See CONFIGURATION.md for configurable options.

2. Run image

If you have already have a Postgres instance running, then:

1docker run -p <host-machine-port>:<port-in-configuration-file> \
 2	--add-host=database:<database-ip-addrss> \
@@ -12,4 +12,4 @@ for configurable options.

2. Run imagedocker-compose configuration is available that will launch both a database instance mcaptcha instance.

With docker-compose

  1. Follow steps above to build docker image.

  2. Set database password docker-compose configuration.

  3. Launch network

1docker-compose up -d
-

Edit this page on git.batsense.net

\ No newline at end of file +

Edit this page on git.batsense.net

← Using Ansible
Database and cache →
\ No newline at end of file diff --git a/docs/self-hosting/getting-started/index.html b/docs/self-hosting/getting-started/index.html index 746e485..3e783e9 100644 --- a/docs/self-hosting/getting-started/index.html +++ b/docs/self-hosting/getting-started/index.html @@ -1,4 +1,4 @@ -Getting started - mCaptcha
\ No newline at end of file diff --git a/docs/self-hosting/index.html b/docs/self-hosting/index.html index 46fc200..e36d95c 100644 --- a/docs/self-hosting/index.html +++ b/docs/self-hosting/index.html @@ -1,4 +1,4 @@ Self-Hosting - mCaptcha
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/self-hosting/index.xml b/docs/self-hosting/index.xml index a3c2bd8..4f12dfb 100644 --- a/docs/self-hosting/index.xml +++ b/docs/self-hosting/index.xml @@ -1,8 +1,11 @@ Self-Hosting on/docs/self-hosting/Recent content in Self-Hosting onHugo -- gohugo.ioen-USGetting started/docs/self-hosting/getting-started/Mon, 01 Jan 0001 00:00:00 +0000/docs/self-hosting/getting-started/Get started There are two main ways to self-host mCaptcha: -Bare metal With DockerDeploy bare metal/docs/self-hosting/bare-metal/Mon, 01 Jan 0001 00:00:00 +0000/docs/self-hosting/bare-metal/2. Configure mcaptcha is highly configurable. +Bare metal With Docker With AnsibleDeploy bare metal/docs/self-hosting/bare-metal/Mon, 01 Jan 0001 00:00:00 +0000/docs/self-hosting/bare-metal/2. Configure mcaptcha is highly configurable. Configuration is applied/merged in the following order: path to configuration file passed in via MCAPTCHA_CONFIG ./config/default.toml /etc/mcaptcha/config.toml environment variables. 1. Install postgres if you don&rsquo;t have it already. For Debian based distributions: -1sudo apt install postgres 2. Create new user for running mcaptcha 1$ sudo useradd -b /srv -m -s /usr/bin/zsh mcaptcha 3. Create new user in Postgres 1$ sudo -iu postgres # switch to `postgres` user 2$ psql 3postgres=# CREATE USER mcaptcha WITH PASSWORD &#39;my super long password and yes you need single quote`; 4$ createdb -O mcaptcha mcaptcha # create db &#39;mcaptcha&#39; with &#39;mcaptcha&#39; as owner 4.Using Docker/docs/self-hosting/docker/Mon, 01 Jan 0001 00:00:00 +0000/docs/self-hosting/docker/With Docker 1. Configure mcaptcha is highly configurable. +1sudo apt install postgres 2. Create new user for running mcaptcha 1$ sudo useradd -b /srv -m -s /usr/bin/zsh mcaptcha 3. Create new user in Postgres 1$ sudo -iu postgres # switch to `postgres` user 2$ psql 3postgres=# CREATE USER mcaptcha WITH PASSWORD &#39;my super long password and yes you need single quote`; 4$ createdb -O mcaptcha mcaptcha # create db &#39;mcaptcha&#39; with &#39;mcaptcha&#39; as owner 4.Using Ansible/docs/self-hosting/ansible/Mon, 01 Jan 0001 00:00:00 +0000/docs/self-hosting/ansible/Ansible playbooks to install mCaptcha are available here. +Instructions Installation Clone the repository: 1git clone https://git.batsense.net/mCaptcha/iac &amp;&amp; cd iac Create inventory file. You should have SSH access to the remote machine, and the user must have sudo privileges. Example inventory file: +1[mcaptcha_hosts] 2&#34;mcaptcha_hosts&#34; 3&lt;node name&gt; ansible_host=&lt;node IP&gt; ansible_user=&lt;remote username&gt; It is important that the group name be mcaptcha_hosts. +Configure installation by editing ansible/vars/mcaptcha/vars.yml. Most parameters have defaults, and the required parameters are annotated.Using Docker/docs/self-hosting/docker/Mon, 01 Jan 0001 00:00:00 +0000/docs/self-hosting/docker/With Docker 1. Configure mcaptcha is highly configurable. Configuration is applied/merged in the following order: path to configuration file passed in via MCAPTCHA_CONFIG ./config/default.toml /etc/mcaptcha/config.toml environment variables. See CONFIGURATION.md for configurable options. 2. Run image If you have already have a Postgres instance running, then: diff --git a/docs/self-hosting/sitemap.xml b/docs/self-hosting/sitemap.xml index 49634d7..dea9e17 100644 --- a/docs/self-hosting/sitemap.xml +++ b/docs/self-hosting/sitemap.xml @@ -1 +1 @@ -/docs/self-hosting/getting-started/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/bare-metal/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/docker/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/dependencies/2023-10-27T21:39:40+05:30weekly0.5 \ No newline at end of file +/docs/self-hosting/getting-started/2023-12-09T03:43:25+05:30weekly0.5/docs/self-hosting/bare-metal/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/ansible/2023-12-09T03:43:25+05:30weekly0.5/docs/self-hosting/docker/2023-12-09T03:43:25+05:30weekly0.5/docs/self-hosting/dependencies/2023-12-09T03:43:25+05:30weekly0.5 \ No newline at end of file diff --git a/docs/sitemap.xml b/docs/sitemap.xml index bdcbb16..517ee30 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -1 +1 @@ -/docs/user-manual/2023-10-28T01:09:37+05:30weekly0.5/docs/help/2021-07-21T15:49:53+05:30weekly0.5/docs/webmasters/2023-10-27T21:39:40+05:30weekly0.5/docs/api/2022-08-01T22:24:03+05:30weekly0.5/docs/self-hosting/2023-10-27T21:39:40+05:30weekly0.5/docs/user-manual/cli/2023-10-28T01:09:37+05:30weekly0.5/docs/user-manual/how-to-mcaptcha-without-js/2023-10-28T03:16:49+05:30weekly0.5/docs/help/troubleshooting/2022-08-01T22:24:30+05:30weekly0.5/docs/help/faq/2022-08-01T19:16:21+05:30weekly0.5/docs/webmasters/installing-captcha/2023-10-28T02:30:28+05:30weekly0.5/docs/webmasters/configuring-difficulty-factor/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/terminology/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/faq/2023-10-27T21:39:40+05:30weekly0.5/docs/api/browser/2022-08-01T20:24:18+05:30weekly0.5/docs/api/mcaptcha-system/2022-08-01T20:24:18+05:30weekly0.5/docs/api/pow-sha256/2022-08-01T20:24:18+05:30weekly0.5/docs/self-hosting/getting-started/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/bare-metal/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/docker/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/dependencies/2023-10-27T21:39:40+05:30weekly0.5 \ No newline at end of file +/docs/user-manual/2023-10-28T01:09:37+05:30weekly0.5/docs/help/2021-07-21T15:49:53+05:30weekly0.5/docs/webmasters/2023-10-27T21:39:40+05:30weekly0.5/docs/api/2022-08-01T22:24:03+05:30weekly0.5/docs/self-hosting/2023-10-27T21:39:40+05:30weekly0.5/docs/user-manual/cli/2023-10-28T01:09:37+05:30weekly0.5/docs/user-manual/how-to-mcaptcha-without-js/2023-10-28T03:16:49+05:30weekly0.5/docs/help/troubleshooting/2022-08-01T22:24:30+05:30weekly0.5/docs/help/faq/2022-08-01T19:16:21+05:30weekly0.5/docs/webmasters/installing-captcha/2023-11-05T02:15:26+05:30weekly0.5/docs/webmasters/configuring-difficulty-factor/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/terminology/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/faq/2023-10-27T21:39:40+05:30weekly0.5/docs/api/browser/2022-08-01T20:24:18+05:30weekly0.5/docs/api/mcaptcha-system/2022-08-01T20:24:18+05:30weekly0.5/docs/api/pow-sha256/2022-08-01T20:24:18+05:30weekly0.5/docs/self-hosting/getting-started/2023-12-09T03:43:25+05:30weekly0.5/docs/self-hosting/bare-metal/2023-10-27T21:39:40+05:30weekly0.5/docs/self-hosting/ansible/2023-12-09T03:43:25+05:30weekly0.5/docs/self-hosting/docker/2023-12-09T03:43:25+05:30weekly0.5/docs/self-hosting/dependencies/2023-12-09T03:43:25+05:30weekly0.5 \ No newline at end of file diff --git a/docs/user-manual/cli/index.html b/docs/user-manual/cli/index.html index bc0073a..42d442c 100644 --- a/docs/user-manual/cli/index.html +++ b/docs/user-manual/cli/index.html @@ -1,7 +1,7 @@ CLI tool - mCaptcha

CLI tool

A CLI tool exists to compute mCaptcha challenges. It can be installed from multiple sources:

Install

crates.io

The CLI tool is available on, crates.io, the Rust language’s package registry. Rust language toolchain is required to install from crates.io, please see rustup.rs for @@ -50,4 +50,4 @@ parameters.

Help menu:

3nonce: 90507
 4original phrase: f351f333d44b2c6b5bf7f033b065bbb8fb5e9dd153bd402e43ed04425f5a3859
 5result: 340276562956196291522979356090220150471
-

Where rand is this script.

Edit this page on git.batsense.net

\ No newline at end of file +

Where rand is this script.

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/user-manual/how-to-mcaptcha-without-js/index.html b/docs/user-manual/how-to-mcaptcha-without-js/index.html index 1d174fc..5b97d34 100644 --- a/docs/user-manual/how-to-mcaptcha-without-js/index.html +++ b/docs/user-manual/how-to-mcaptcha-without-js/index.html @@ -1,5 +1,5 @@ Use mCaptcha without JavaScript - mCaptcha

Use mCaptcha without JavaScript

To use mCaptcha without JavaScript:

  1. Install mCaptcha CLI too. Please see here for instructions.
  2. Copy the URL of the protected page
  3. Run mCaptcha CLI with that URL:
1mcapthca-cli protected-page <URL>
-
  1. Copy authorization code and paste it in the form

Edit this page on git.batsense.net

\ No newline at end of file +

Use mCaptcha without JavaScript

To use mCaptcha without JavaScript:

  1. Install mCaptcha CLI too. Please see here for instructions.
  2. Copy the URL of the protected page
  3. Run mCaptcha CLI with that URL:
1mcapthca-cli protected-page <URL>
+
  1. Copy authorization code and paste it in the form

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/user-manual/index.html b/docs/user-manual/index.html index 8b57e1d..5c86fb9 100644 --- a/docs/user-manual/index.html +++ b/docs/user-manual/index.html @@ -1,4 +1,4 @@ User Manual - mCaptcha
\ No newline at end of file + \ No newline at end of file diff --git a/docs/webmasters/configuring-difficulty-factor/index.html b/docs/webmasters/configuring-difficulty-factor/index.html index 314b244..17ea9d7 100644 --- a/docs/webmasters/configuring-difficulty-factor/index.html +++ b/docs/webmasters/configuring-difficulty-factor/index.html @@ -1,7 +1,7 @@ Configuring Difficulty Factor - mCaptcha

Configuring Difficulty Factor

mCaptcha is highly responsive to detecting DDoS attacks. Admins are advised to take advantage of it by setting low difficulty factors for normal traffic levels for their website.

Lowest advisable difficulty factor is 5000.

For instance, if it is normal for my website to get 2000 requests for @@ -23,4 +23,4 @@ users to pass through without waiting on the CAPTCHA. But if 1000 requests over 30 seconds will bring down the service, then the admin can configure increasing levels of difficulty factor of increasing traffic levels, effectively rate limiting its users and protecting the -underlying website.

new sitekey form in advance mode

Edit this page on git.batsense.net

\ No newline at end of file +underlying website.

new sitekey form in advance mode

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/webmasters/faq/index.html b/docs/webmasters/faq/index.html index c886939..642ac70 100644 --- a/docs/webmasters/faq/index.html +++ b/docs/webmasters/faq/index.html @@ -1,5 +1,5 @@ Webmasters FAQ - mCaptcha

Webmasters FAQ

Easy Mode: Default cooldown period

When configuring mCaptcha in easy mode, the default cooldown period is set to 30 seconds.

How to get site key from dashboard?

  1. Go to “Site keys” on the side panel in the dashboard
Site key menu option on the dashboard, encircled in red.
  1. click on the clipboard button to copy the site key to your -clipboard.
Copy site key to clipboard. Clipboard button is highlighted in the photo

Edit this page on git.batsense.net

\ No newline at end of file +

Webmasters FAQ

Easy Mode: Default cooldown period

When configuring mCaptcha in easy mode, the default cooldown period is set to 30 seconds.

How to get site key from dashboard?

  1. Go to “Site keys” on the side panel in the dashboard
Site key menu option on the dashboard, encircled in red.
  1. click on the clipboard button to copy the site key to your +clipboard.
Copy site key to clipboard. Clipboard button is highlighted in the photo

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/webmasters/index.html b/docs/webmasters/index.html index d495be6..7c22cf9 100644 --- a/docs/webmasters/index.html +++ b/docs/webmasters/index.html @@ -1,4 +1,4 @@ Webmasters - mCaptcha
\ No newline at end of file + \ No newline at end of file diff --git a/docs/webmasters/installing-captcha/index.html b/docs/webmasters/installing-captcha/index.html index e9c1bef..525d4bf 100644 --- a/docs/webmasters/installing-captcha/index.html +++ b/docs/webmasters/installing-captcha/index.html @@ -1,7 +1,7 @@ -Installing mCaptcha on your website - mCaptcha

Installing mCaptcha on your website

mCaptcha can protect your website from DDoS attacks. In this guide we’ll explore how to install mCaptcha on your website. The end result will be something like this, on your website:

A registration form with mCaptcha widget installed

For the purpose of this demo, we will be using demo.mcaptcha.org, a demo instance running @@ -9,12 +9,8 @@ in @realaravinth’s bedroom(for this same reason, it shouldn’t be use for anything serious)

1. Create an account and sign into the mCaptcha dashboard

Head over to demo.mcaptcha.org and create an account. When ready, sign in.

2. Create new site key

A site key is how a new CAPTCHA is configured within mCaptcha. To create a new site key, click on “New Site” button in the dashboard.

mCaptcha dashboard with the 'new site key' button highlighted

There are two options to create a new site key, easy and advanced. We -are going to use the easy mode in this tutorial. If you are interested -in learning more about the advance mode, please see here.

Easy Mode

Easy mode asks a few basic statistics about your website and generates a -configuration that should work for your website. Currently, easy mode is -guided by assumptions on suitable difficulty factors to protect a -website but it will be fine-tuned as mCaptcha sees more deployment.

Configuration generated by easy mode can be tweaked later using the -advance mode, as you become more familiar with how mCaptcha works.

Fill the form and submit it.

mCaptcha dashboard with the 'new site key' form in easy mode, with details filled in

Submitting the form will take you to a page where site key configuration +are going to use the easy mode in this tutorial. If you are interested +in learning more about the advance mode, please see here.

Fill the form and submit it.

mCaptcha dashboard with the 'new site key' form in easy mode, with details filled in

Submitting the form will take you to a page where site key configuration can be viewed. “View deployment” link will display CAPTCHA widget with the supplied configuration. Click on it and grab the widget link.

4. Install mCaptcha on your website

Integration support is available for some frontend JavaScript frameworks. To see full list of supported frameworks, please see @@ -56,4 +52,4 @@ access.

3 else:
 4     return allow_access_to_protected_resource(request.form)
 

Please see here for a complete Flask example and here for an Actix -Web example.

Congratulations, mCaptcha is now integrated with your website!

Edit this page on git.batsense.net

\ No newline at end of file +Web example.

Congratulations, mCaptcha is now integrated with your website!

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/docs/webmasters/sitemap.xml b/docs/webmasters/sitemap.xml index 655b599..eb41769 100644 --- a/docs/webmasters/sitemap.xml +++ b/docs/webmasters/sitemap.xml @@ -1 +1 @@ -/docs/webmasters/installing-captcha/2023-10-28T02:30:28+05:30weekly0.5/docs/webmasters/configuring-difficulty-factor/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/terminology/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/faq/2023-10-27T21:39:40+05:30weekly0.5 \ No newline at end of file +/docs/webmasters/installing-captcha/2023-11-05T02:15:26+05:30weekly0.5/docs/webmasters/configuring-difficulty-factor/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/terminology/2023-10-27T21:39:40+05:30weekly0.5/docs/webmasters/faq/2023-10-27T21:39:40+05:30weekly0.5 \ No newline at end of file diff --git a/docs/webmasters/terminology/index.html b/docs/webmasters/terminology/index.html index 8a4bf61..0421e62 100644 --- a/docs/webmasters/terminology/index.html +++ b/docs/webmasters/terminology/index.html @@ -1,7 +1,7 @@ Terminology - mCaptcha

Terminology

Authorization token

When a visitor solves the CAPTCHA and sends their solution to an mCaptcha instance, the solution will be verified for correctness. If the solution is correct, mCaptcha will return a single use authorization token.

This authorization token should be attached to the visitor’s requited to the protected service and the protected service should validity of the @@ -33,4 +33,4 @@ seconds will result in difficulty factor being upgraded to 500,000 and level to deploy. mCaptcha uses leaky bucket algorithm to keep the visitor threshold constantly updated within the configured cool down period. So, at any given moment the, the current visitor level will be -the amount of traffic that was served in the cool down period specified.

Edit this page on git.batsense.net

\ No newline at end of file +the amount of traffic that was served in the cool down period specified.

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/donate/index.html b/donate/index.html index 164a333..a431cbd 100644 --- a/donate/index.html +++ b/donate/index.html @@ -8,4 +8,4 @@ way in supporting us.

Some of the payment options are anonymous. You can o me(@realaravinth) an email so that I can thank you :)

XMR

85QAHsHqg4WfA6G7ycXc7U4LmrSLCQARv6H9p3AYjf8o8YP
 WH3ngC8Zi7bUYGUifdXb54Xuz41kcu2pqgGFuAYp3VSh5JsR
-
Monero address QR code
Monero address QR code

Liberapay

Edit this page on git.batsense.net

\ No newline at end of file +
Monero address QR code
Monero address QR code

Liberapay

Edit this page on git.batsense.net

\ No newline at end of file diff --git a/index.html b/index.html index ee3686d..b0a7e65 100644 --- a/index.html +++ b/index.html @@ -3,4 +3,4 @@

Defend Like Castles

mCaptcha is proof-of-work based captcha system that is privacy focused and fully automated.

Try mCaptcha       - Get started

Libre software GitHub

Privacy focused

Doesn't track, doesn't profile your users.

Robust and Accurate

Got users behind NATs? No issues. We don't use IP address for rate-liming. NAT or not you get the mCaptcha experience.

Best-in-class UX

mCaptcha is silent, so silent that your users won't even feel it. No more annoying images, no more helping for Big Brothers with their ML stuff

Defend like castles

Our PoW-based solution defends fierily. mCaptcha makes attacking your site more expensive than what it will take for you to respond to the attacker's requests

Libre Software

Client libraries are licensed using proprietary-friendly free software licenses but the core is AGPL'd. We believe this is a tech that can change the way the web works so mCaptcha will always be free

xCaptcha drop-in replacement

Already using a captcha solution? No worries, our APIs are compatible with reCAPTCHA and hCaptcha!

\ No newline at end of file + Get started

Libre software GitHub

Privacy focused

Doesn't track, doesn't profile your users.

Robust and Accurate

Got users behind NATs? No issues. We don't use IP address for rate-liming. NAT or not you get the mCaptcha experience.

Best-in-class UX

mCaptcha is silent, so silent that your users won't even feel it. No more annoying images, no more helping for Big Brothers with their ML stuff

Defend like castles

Our PoW-based solution defends fierily. mCaptcha makes attacking your site more expensive than what it will take for you to respond to the attacker's requests

Libre Software

Client libraries are licensed using proprietary-friendly free software licenses but the core is AGPL'd. We believe this is a tech that can change the way the web works so mCaptcha will always be free

xCaptcha drop-in replacement

Already using a captcha solution? No worries, our APIs are compatible with reCAPTCHA and hCaptcha!

\ No newline at end of file diff --git a/index.min.80cc62918990f0b9afd15b81ea43df0bc0090a2419660eb4a32b4d122db3bdd007faabd824064bd5d275cbeb3d1e2d2bd650220c94c2ef3aeffb4dc2ef6551f5.js b/index.min.80cc62918990f0b9afd15b81ea43df0bc0090a2419660eb4a32b4d122db3bdd007faabd824064bd5d275cbeb3d1e2d2bd650220c94c2ef3aeffb4dc2ef6551f5.js deleted file mode 100644 index ddab039..0000000 --- a/index.min.80cc62918990f0b9afd15b81ea43df0bc0090a2419660eb4a32b4d122db3bdd007faabd824064bd5d275cbeb3d1e2d2bd650220c94c2ef3aeffb4dc2ef6551f5.js +++ /dev/null @@ -1 +0,0 @@ -var suggestions=document.getElementById('suggestions'),userinput=document.getElementById('userinput');document.addEventListener('keydown',inputFocus);function inputFocus(a){a.keyCode===191&&(a.preventDefault(),userinput.focus()),a.keyCode===27&&(userinput.blur(),suggestions.classList.add('d-none'))}document.addEventListener('click',function(a){var b=suggestions.contains(a.target);b||suggestions.classList.add('d-none')}),document.addEventListener('keydown',suggestionFocus);function suggestionFocus(b){const d=suggestions.querySelectorAll('a'),e=[...d],a=e.indexOf(document.activeElement);let c=0;b.keyCode===38?(b.preventDefault(),c=a>0?a-1:0,d[c].focus()):b.keyCode===40&&(b.preventDefault(),c=a+1