From d5a83be47825e7ed14c89412a38b419d3dbeb79f Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Sun, 20 Feb 2022 23:14:39 +1100 Subject: [PATCH] Change last stage of the noscript command option to bash instead of sh. Even if a lot of distros just symlink sh > bash the script needs to do some substitutions not supported in sh, so it's more correct. Who doesnt have bash these days anyway? --- src/scripts/hcaptcha.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/hcaptcha.lua b/src/scripts/hcaptcha.lua index 85c1794..9358c7f 100644 --- a/src/scripts/hcaptcha.lua +++ b/src/scripts/hcaptcha.lua @@ -95,7 +95,7 @@ local noscript_extra_template = [[
  • Run this in a linux terminal:

    - echo "Q0g9IiQxIjtCPSJiMDBiIjtJPTA7RElGRj0kKCgxNiMke0NIOjA6MX0gKiAyKSk7d2hpbGUgdHJ1ZTsgZG8gSD0kKGVjaG8gLW4gJENIJEkgfCBzaGExc3VtKTtFPSR7SDokRElGRjo0fTtbWyAkRSA9PSAkQiBdXSAmJiBlY2hvICRJICYmIGV4aXQgMDsoKEkrKykpO2RvbmU7Cg==" | base64 -d | sh -s %s + echo "Q0g9IiQxIjtCPSJiMDBiIjtJPTA7RElGRj0kKCgxNiMke0NIOjA6MX0gKiAyKSk7d2hpbGUgdHJ1ZTsgZG8gSD0kKGVjaG8gLW4gJENIJEkgfCBzaGExc3VtKTtFPSR7SDokRElGRjo0fTtbWyAkRSA9PSAkQiBdXSAmJiBlY2hvICRJICYmIGV4aXQgMDsoKEkrKykpO2RvbmU7Cg==" | base64 -d | bash -s %s
  • Set a cookie named z_ddos_pow with the value as the number the script outputs.
  • Remove "/bot-check?" from the url, and load the page again.